Skip to main content

Notifications

Announcements

No record found.

Service | Customer Service, Contact Center, Fie...
Unanswered

How to query active Business Process Flow in Power FX

Posted on by 63

The requirement is that a button is on the Ribbon of the Contact record that switches between 2 business process flows. 

I know the Process button exists and that you click that, then click the BPF you want to display but thats too user intensive and the business would like 1 button switching. 

I know the logic is the following - 

IF

processID = X

THEN

setActiveProcess(Y)

OR

processID = Y

THEN

setActiveProcess(X)

But I cant find a way on the FX query builder to query processID as you would in JavaScript 

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to query active Business Process Flow in Power FX

    Hi JoshDB,

    Maybe you can use ribbon workbench to design one custom button:

    Develop 1 Ltd | Ribbon Workbench for Dynamics 365 & Dynamics CRM

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans