Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Answered

Creating a booking through Power Automate

(0) ShareShare
ReportReport
Posted on by 30

Hi, 

I am hoping someone can help me. 

Background/Requirement: 

I am trying to create a power automate flow that will automatically create a booking when a work order is created.


Issue: 

When ever I try to create a booking with the work order look up it fails and returns 'URL was not parsed due to an ODataUnrecognizedPathException. Resource not found for the segment provided in the URL'.

There are other mandatory look up fields on the booking entity which are creating no errors with how I creating them... can someone tell me what I am doing wrong please? 


PA Flow:  

pastedimage1662855421873v1.png
 
Create Booking Step: 
1) 
pastedimage1662855483816v2.png

2) 
pastedimage1662855580490v3.png

If I don't add the work order part - I get the 'object not set to an instance of an object' error... which is expected. None of the other look up field give me the 'resource segment'... it's only this work order. 

  • nisar542 Profile Picture
    nisar542 30 on at
    RE: Creating a booking through Power Automate

    Hi Gabriel,

    So simple and was right in front me the whole time.

    Thank you so much Gabriel... this has been a massive massive help!

  • Verified answer
    Gabriel Dias Junckes Profile Picture
    Gabriel Dias Junckes 2,428 on at
    RE: Creating a booking through Power Automate

    Hi.

    The syntax is incorrect. To set the lookup field, you have to add the EntitySetName. E.g. in the work order will be "msdyn_workorders(70816501-edb9-4740-a16c-6a5efbc05d84)"

    The blog post below might be helpful.

    debajmecrm.com/.../

    community.dynamics.com/.../get-entitysetname-with-xrmtoolbox

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,575 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans