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

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Aborting a BPF process when base record is inactive

(0) ShareShare
ReportReport
Posted on by 240

Hello, 

I have an entity X and created a BPF on it - BPF X. There is a workflow in place that updates status of record in entity X, and if status is closed, then it deactivates the record. Now, I want the BPF to abort when the record becomes deactive. 

I created a workflow on the BPF X entity, but no combo of trigger seems to work. I set the trigger to 'Process changes' - and then choose the lookup field of entity X. It makes sense, that when any field on the record changes, the workflow would run and check the status. But, unfortunately it does not work. 

What could be the way around it. 

Thanks. 

I have the same question (0)
  • Suggested answer
    Bipin D365 Profile Picture
    28,981 Moderator on at
    RE: Aborting a BPF process when base record is inactive

    Hi,

    Open your workflow and navigate to Process Session to check if it is getting triggere or not.

    If not check your trigger option which you have selected in your workflow.

    If possible please share workflow configuration screenshot to check this.

    Please mark my answer verified if i were helpful

  • LeoAlt Profile Picture
    16,331 Moderator on at
    RE: Aborting a BPF process when base record is inactive

    Hi Partner,

    Please go to Advanced Settings->System Jobs to monitor the workflow and check if your workflow did not trigger or failed.

    Regards,

    Leo

  • Aneeqa Pervaiz Profile Picture
    240 on at
    RE: Aborting a BPF process when base record is inactive

    Hey -

    So Abort is not a BPF stage

    It is the 'Abandon' step under Process.

    0876.Image1.png

    So this is the workflow I created on the BPF entity: 

    1602.image2.png

    It checks the status of the base record and then aborts the BPF - but it is not running as it should. I have set the trigger to the change of base record - but that is not working unfortunately. What could be the way around this. 

  • Suggested answer
    LeoAlt Profile Picture
    16,331 Moderator on at
    RE: Aborting a BPF process when base record is inactive

    Hi Partner,

    How do you want to abort your BPF? Do you have a stage named "Abort" and want to set the active stage to "Abort" when the record status has been changed to "Inactivate"?

    If so, you could use workflow to do.

    For example I want to set the stage to "Close" when my opportunity has been closed.

    1.Create a workflow on the BPF.

    pastedimage1600155223184v1.png

    2.Set the trigger condition to 'process changes', and then choose both "Status" and "Status Reason".

    pastedimage1600155343685v2.png

    3.Add a condition step to check the opportunity status. I add all the status which may cause the opportunity close.

    pastedimage1600155449356v3.png

    4.Add an update step to set the active stage to "Close".

    pastedimage1600155811491v6.png

    You should make sure you've set the entity X GUID to the entity lookup field on your BPF. If you don't set the related entity, the BPF will still update but it doesn't know which X record it should be assigned to.

    Save and activate the workflow.

    Then let's have a test. I closed an opportunity manually and the stage changed successfully.

    Before

    pastedimage1600155637013v5.png

    After

    pastedimage1600155894108v7.png

    Best Regards,

    Leo

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daniyal Khaleel Profile Picture

Daniyal Khaleel 150

#2
DAnny3211 Profile Picture

DAnny3211 73

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 66 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans