cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mgodby
Post Patron
Post Patron

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
v-bacao-msft
Community Support
Community Support

 

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.

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
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (2,842)