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,...
Suggested Answer

How to create a customized qualify button in the command bar within a customized entity and a customized BPF?

(0) ShareShare
ReportReport
Posted on by 160

Dear all,

I have created a business process with three stages in a customized entity to manage our speaker leads: 

Image

In the first stage, I created a Lookup data field to make sure the newly acquired lead is already in the Contact entity:

pastedimage1674128517763v1.png

If the contact is found, will it be possible to create a customized button, "Qualify speaker lead"? Can this button achieve the following goals:

-Close the existing lead in the new customized entity I created.

-Direct me to the matching contact profile page so I can update the existing contact profile?

It seems the possibility required a certain formula for this button. Does someone know how to write the formula?

Thanks!

I have the same question (0)
  • Suggested answer
    Naveen Ganeshe Profile Picture
    3,397 User Group Leader on at
  • Suggested answer
    Pradeep Rai Profile Picture
    5,489 Moderator on at

    Hi,

    Please use below link to add ribbon button entity:

    https://cynoteck.com/blog-post/add-custom-button-using-command-bar-in-powerapps/

    Now, You need create one Javascript which trigger on Click of Custom "Qualify Button".

    In ribbon button, you can get the formcontext as described in below link

    https://blog.magnetismsolutions.com/blog/alfwynjordan/2019/10/02/getting-dynamics-365-formcontext-from-ribbon-workbench

    Now, with formcontext you can access BPF field as described in below link:

    https://d365demystified.com/2018/11/17/accessing-multiple-occurrences-of-a-field-in-business-process-flow-using-js-in-d365-crm/

    After this, you can check your condition and if it is TRUE then you close the custom entity by updating the record Status and Status Reason Field.

    And in the success call back of ASYNC function you can open the selected contact record.

    Hope this helps!!!

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 166 Super User 2026 Season 1

#2
Jimmy Passeti Profile Picture

Jimmy Passeti 51 Most Valuable Professional

#2
NeerajPawar Profile Picture

NeerajPawar 51

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans