cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper III
Helper III

Flow run problem: Update a record, CDS

Anyone know what this error is?  The flow runs great in one sandbox environment (dev), but fails in another (uat).

Because it's CDS, I had to create it in a solution.  I published that solution and I've tried running it while in the solution and by doing 'save as' to pull it out of the solution.  It fails whether I run a test from the edit page or if I trigger it from Dynamics.

 

Annotation 2020-05-27 144202.jpg

2 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted
Post Prodigy
Post Prodigy

Re: Flow run problem: Update a record, CDS

Hi @draushaus ,

 

Could you share complete error message and screenshot of what you are trying to accomplish. 

 

Thanks

View solution in original post

Highlighted
Community Support
Community Support

Re: Flow run problem: Update a record, CDS

Hi @draushaus ,

 

Could you please share a full screenshot of the configuration of your flow?

Does the record that you want to updated exists in the Current environment? if yes, does the record identifier correct?

 

Best regards,

Alice   

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

View solution in original post

4 REPLIES 4
Highlighted
Post Prodigy
Post Prodigy

Re: Flow run problem: Update a record, CDS

Hi @draushaus ,

 

Could you share complete error message and screenshot of what you are trying to accomplish. 

 

Thanks

View solution in original post

Highlighted
Community Support
Community Support

Re: Flow run problem: Update a record, CDS

Hi @draushaus ,

 

Could you please share a full screenshot of the configuration of your flow?

Does the record that you want to updated exists in the Current environment? if yes, does the record identifier correct?

 

Best regards,

Alice   

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

View solution in original post

Highlighted
Helper III
Helper III

Re: Flow run problem: Update a record, CDS

Here is the latest version of the complete flow.  It's short:

Annotation 2020-05-28 085050.jpg

 

And broken down to details:

Annotation 2020-05-28 083709.jpg

 

 

Annotation 2020-05-28 085154.jpg

 

I had "Team Name" in the update:

Annotation 2020-05-28 085222.jpg

 

and received this error:

Annotation 2020-05-28 091546.jpg

 

 

Changing to "Team", with the guid, worked.

Annotation 2020-05-28 085720.jpg

 

....but not when I imported the flow, in a solution, to the next environment!

 

In the next (sandbox) environment, I can't turn it on unless it's published and I can't publish it, either, so I have to pull it out of the solution with a 'save as'.  Then, the run fails:

 

Annotation 2020-05-28 100401.jpg

 

 

There are so many quid pro quos with using flows in Automate.  I started with Dynamics connectors, then found that's being deprecated.  I switched to "CDS", then I couldn't choose "when a record is created, updated or deleted", unless I went to "CDS (current environment)".  But this connector is hidden in Automate, so flow builders have to remember to specifically look for it when inserting each new step, because "Update record" is not the same between the two.  With the latter, the "owner (type)" does not need to be updated.

 

This is a very short - and should be easy - flow.  

 

 

 

 

 

Highlighted
Helper III
Helper III

Re: Flow run problem: Update a record, CDS

This is all worked out now.  Flows can be migrated (deployed) without a solution:  https://carldesouza.com/deploying-microsoft-power-automate-flows-from-one-environment-to-another/

Helpful resources

Announcements
firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

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!

Users online (8,573)