Skip to main content

Notifications

Announcements

No record found.

Customer Service forum
Answered

How to automatically finish the Business Process Flow (without clicking the Finish button) after the previous step is completed

Posted on by 459

Hi,

I have a requirement to complete the Business Process Flow automatically (without clicking the Finish button), when the Eligibility Approved field is populated with any value (refer to the attached screen). The Eligibility Approved Field is a calculated field that will be populated based on the previous step action. Could you please advise me how i can automatically click the finish button when the previous step is completed or the Eligibility approved field is populated with any value?

pastedimage1645569540199v1.png

Categories:
  • SivaR Profile Picture
    SivaR 459 on at
    RE: How to automatically finish the Business Process Flow (without clicking the Finish button) after the previous step is completed

    Thank you so much. It helped me to resolve the issue.

    Regards,

    SivaR

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to automatically finish the Business Process Flow (without clicking the Finish button) after the previous step is completed

    Hi SivaR,

    When you create a BPF, there would be a entity whose name is the same as BPF created. And there is a status field and status reason field on the entity. If you want to automatically click Finish button, you could just change the process's status to inactive and status as Finished. So you could use workflow/JS to update the current process's status and status reason field.

    Please refer to this blog and change the Step 5 from move to next stage to change record status:

    Screenshot-2022_2D00_02_2D00_23-133916.png

    https://vishalgrade.com/2018/01/14/how-to-change-bpf-stages-automatically-using-workflow-in-dynamics-365/

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,277 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,126 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans