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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :

Get Stage Id of Business Process Flow Stages

Community Member Profile Picture Community Member

Introduction:

I had a requirement where I needed to compare the Active Stage of Business Process Flow to perform an action of the Stage was Develop

The Flow trigger body provided the active stage id which I had to compare with Stage id of Develop.

However, I did not know the stage id, so I used the below API to get the stage details.

Solution:

API Query-

https://CRMURL.dynamics.com/api/data/v9.0/processstages?$select=stagename&$filter=processid/workflowid eq BPFGuid

Example:

  1. Get the GUID of  Business Process Flow whose stage details you need.
  1. Replace below Query with Your CRM URL and BPF GUID.

https://Test130.crm.dynamics.com/api/data/v9.0/processstages?$select=stagename&$filter=processid/workflowid eq 9128E4D1-1234-4852-ABD0-A63A6ECA5C5D

Output:

The post Get Stage Id of Business Process Flow Stages appeared first on Cloudfronts - Microsoft Dynamics 365 | Power BI | Azure.

Comments

*This post is locked for comments