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

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Retrieve active business process flow stage from base entity

(0) ShareShare
ReportReport
Posted on by

I was wondering how I could retrieve the active stage of the current active BPF process (preferably without code) from its base entity. I am looking for a solution sort of like the deprecated stageid and traversed path fields.

I have tried using a workflow triggered on each stage entry of the BPF to set the value of an option set on the base entity but every now and then the option set value will be incorrect (I still have no idea why).

I was thinking I could add a field to the base entity which is a lookup to the BPF entity. The lookup value would be set via workflow that triggers whenever a BPF is created. However, I am hesitant to do this because I am not sure if it is a best practice.

I have the same question (0)
  • Suggested answer
    Rui Carvalho Profile Picture
    on at
    RE: Retrieve active business process flow stage from base entity

    Hello Hapa1,

    To retrieve the current active stage of a BPF you will need to write code.

    You can use the following Client API for Javascript:

    docs.microsoft.com/.../getactivestage

    More BPF client API can be found here:

    docs.microsoft.com/.../formcontext-data-process

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 258

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 165

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 148 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans