cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
HoofEri
New Member

Dynamics Get Record error

Hi All,

 

When I try to use the Get Record step, it keeps giving me an error, but no error details.

 

This is my test:

I have created 2 flows for this test:

 

Flow 1:

When an account is created in CRM, put the ID of this record in the content of a message in a message queue.

 

Flow 2:

When a new message is on the message queue, get the CRM Account Record with the ID that is in the content and send an email with the name of the account to my email address

 

Flow 1 works perfectly. When peeking the queue, the content has the identifier of the CRM Record.

Flow 2 fails on the Get Record step and give an HTML body saying: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed.

So not much of a help...

 

Has anyone experienced this before? Any tips?

 

Thanks,

 

Erik

 

 

3 REPLIES 3
abm
Super User
Super User

Hi,

 

Are you using quotes in your Id? If it is please remove it. If not can you please share a screen shot of both flows?

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials
HoofEri
New Member

The Content field seems to get encoded.

I put 1004c980-60aa-e611-80f6-5065f38a3bc1 in the Content field and when I read it back from the second Flow, the value is MTAwNGM5ODAtNjBhYS1lNjExLTgwZjYtNTA2NWYzOGEzYmMx.

This caused the Get Record to fail (of course).

 

I changed it now by putting the value in the Message ID field and reading it from there, and the Get Record works.

 

I am sure this is not best practice, but it works for now 🙂

 

Erik

Glad that you found a work around.



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,673)