web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

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

Programmatically generate a Work Order from an Opportunity

(1) ShareShare
ReportReport
Posted on by 222

Hi everyone

I would like to automate the function that sits behind the "Convert to Work Order" button on an opportunity using Power Automate or a classic workflow.

It is available as Unbound Action in Power Automate or Perform Action in the classic workflow designer. However, it requires an input parameter of type "string" - not sure what that would be. I've tried populating it with the GUID of the opportunity as well as the Dynamic URL value - no luck though.

Has anyone tried this?

Thanks

Rean

I have the same question (0)
  • Verified answer
    Gabriel Dias Junckes Profile Picture
    2,428 on at

    Hi.

    The button calls this action: https://docs.microsoft.com/en-us/dynamics365/customer-engagement/web-api/msdyn_fieldservicesystemaction?view=dataverse-latest

    /api/data/v9.0/msdyn_FieldServiceSystemAction

    pastedimage1649569452528v1.png

    It is for internal use only so I don't recommend modifying it. However, you could add a Power Automatate on the Work Order creation when the opportunity field contains data.

  • reanm Profile Picture
    222 on at

    Thanks Gabriel - this worked perfectly!!!

    pastedimage1649630582685v1.png

    Thanks again for your help.

    Kind regards

    Rean

  • prof711 Profile Picture
    115 on at

    Gabriel Dias Junckes how did you see what action had been called and the required values for the input parameters? I'm sure there are many situations where it's good to see this info! 

  • Gabriel Dias Junckes Profile Picture
    2,428 on at

    prof711  I open the Developer Tool on the web browser before pressing the button to convert to work order so I navigated to the network to see which requests were made.

    You can see the parameters there too.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 51 Super User 2026 Season 1

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 51 Most Valuable Professional

#3
Nagaraju_Matta Profile Picture

Nagaraju_Matta 50

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans