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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Open BPF Stage on Form Load

(1) ShareShare
ReportReport
Posted on by 4
Hi all,
 
I have a requirement where users want the active BPF stage to be open on page load. How can this be achieved via JS?
 
See image below - When the user navigates to the record, the BPF popup should appear for the current stage (in this case Close):
 
 
I have the same question (0)
  • Suggested answer
    Adrian Begovich Profile Picture
    1,027 Moderator on at
    Hi,
    You can achieve this by using the setActiveStage Client API.
     
    formContext.data.process.setActiveStage(stageId, callbackFunction);
     
  • Community member Profile Picture
    4 on at
    Isnt this just a method to set the active stage? How can I get the stage be 'open' on page load?
  • Verified answer
    Leah Ju Profile Picture
    Microsoft Employee on at
    Hi Partner,
    By "open" you mean displaying a pop-up window at this stage without clicking it manually, Right?
    The business process flow is by default collapsed and the user must click on it to see what is needed in this phase.
    If so, you can use the following synax:
    More information about using this:
     
    Also, You need add js to form OnLoad event if you want to achieve it when the form onload.

    I hope you can mark my answer verified if it answer your question! If you have any questions, please feel free to contact me.
    Regards,
    Leah

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 196 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 129

#3
CU11031447-0 Profile Picture

CU11031447-0 100

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans