cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Mgodby
Level 8

Why is project online task custom field returning nothing when it has value?

I have an http request that pulls the "WORK ORDER" custom field from a project task. The http request succeeds but when I compose to see what it's value is it shows nothing. 

 

workorderempty.png

This action succeeds but this is what I get:

 

workorderisemptywhy.png

 

Why does the action work for default fields but not this one? Why is it succeeding but returning no data. And there is supposed to be data, I checked the task and it has values for that field. 

 

 

2 REPLIES 2
Community Support Team
Community Support Team

Re: Why is project online task custom field returning nothing when it has value?

 

Hi @Mgodby ,

 

Maybe this current project does not exist, or the WORKORDER is indeed an empty object.

 

Have you tried removing "?$select = WORKORDER", and then looking at the execution result of Flow, and seeing what the WORKORDER attribute value is in the body.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Mgodby
Level 8

Re: Why is project online task custom field returning nothing when it has value?

I tried removing the select statement but it changed nothing. It only returned default fields and none of the customfields. I found a way to pull customfields from a task but it has the same issue of not giving me the value of the customfield and will not return customfields with with empty values:

 

getcustomfields.png

 

Is there a way to get all the customfields of a task regardless of whether they are empty or not? 

 

Thank you.

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors
Users online (5,254)