Developers may need to get the stage ids of BPF stages in order to use in power automate or JS. Here is a blog that will help.
API Query-
https://CRMURL.dynamics.com/api/data/v9.0/processstages?$select=stagename&$filter=processid/workflowid eq BPFGuid
Eg:
1)
Get the GUID of Business Process Flow whose stage details you need.
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 output will provide the stage name and ID.
Comments
Post a Comment