cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

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
Solution Specialist
Solution Specialist

Re: Flow run problem: Update a record, CDS

Hi @Anonymous ,

 

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 @Anonymous ,

 

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
Solution Specialist
Solution Specialist

Re: Flow run problem: Update a record, CDS

Hi @Anonymous ,

 

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 @Anonymous ,

 

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
Anonymous
Not applicable

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
Anonymous
Not applicable

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Users online (6,465)