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 :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Change BPF according to selected field option

(0) ShareShare
ReportReport
Posted on by 91
Hello,
 
Does someone has idea how to solve next question.
We created Field with different sales procedures and want to link these options to actual business process flows.
Yes it would be simple to BPF from process menu but we do need field in different views to get quick idea of what process is being used.
Also its more efficient/comfortable to fill and select all fields on same place not navigate around in menus and submenus.
 
Thanks in advance.
I have the same question (0)
  • Suggested answer
    Leah Ju Profile Picture
    Microsoft Employee on at
    Hi Partner,
    You can switch different BPFs based on the field value through Javascript automatically.
    1.setActiveProcess()
    Sets a Process as the active process.
    If the business process being set as active already has an instance, the instance will be marked as active and the primary record form will be reloaded to show it.
    formContext.data.process.setActiveProcess(processId, callbackFunction);
    2.getActiveProcess()
    Returns a Process object representing the active process.
    var activeProcess = formContext.data.process.getActiveProcess();
    3.process.getId()
    Returns the unique identifier of the process.
    var processId = procObj.getId();
    And you can refer to the following blog, which provides one example:
    Note:
    Pick GUID of the Business Process Flow 32 characters between %7b and %7d  (%7b    BAA0A411-A239-410C-B8BD-ED8B5FDD88E3   %7d)

    I hope you can verify my answer if it helps you! If you have any questions, please feel free to contact me.
    Regards,
    Leah
  • Leah Ju Profile Picture
    Microsoft Employee on at
    Hi Partner,
    Has the issue been resolved?
    Have there been any updates? Please feel free to ask me any questions you may have!
    If it has been resolved, can you mark the response as an answer?

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 Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
11manish Profile Picture

11manish 59

#2
Manoj - ManoVerse Profile Picture

Manoj - ManoVerse 50 Super User 2026 Season 1

#3
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 31 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans