Showing results for 
Search instead for 
Did you mean: 
New Member

SetStateRequest for Dynamics 365 Record

Dear Flow Experts

Is there a way to update state and statecode of a Dynamics 365 record with flow?
In the "Update record" building block I find the attributes statecode and statuscode but if I try to set them I get an error from the API saying I have to use the SetStateRequest message instead.

Thanks in advance for your help on this!


Community Support
Community Support

Hi @PhilMeyer,


How is your flow created? Could you share more details on your flow configuration?

Do you want to update statecode and statuscode of Dynamics 365 with Flow?

Please share more details, I will try to reproduce this issue on my side.


Best regards,

Mabel Mao

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

Thanks @v-yamao-msft for your quick reply!

I'm starting with a PowerApps connector to then update a record in Dynamics 365.
There I'm changing both statecode and statuscode (and for both the value and the label).

Best regards,

Helpful resources

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (45,470)