Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Business Process Flow is still Active when record is Inactive

Posted on by

I have encountered an issue where a user is randomly clicking on things on the screen and clicking the Set Active button on the business process flow when a record is in an Inactive state.  This causes the record to reactivate.  Is there any way to prevent this?  If the record is inactive I want the business process flow to be inactive.  

*This post is locked for comments

  • Suggested answer
    Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: Business Process Flow is still Active when record is Inactive

    Hi,

    I've created a video for you to refer, hope this help you.

    Part 1

    https://youtu.be/rhcN45s2ILE

    Part 2

    https://youtu.be/7r00ZkiPU0A

  • Cyclefitness Profile Picture
    Cyclefitness on at
    RE: Business Process Flow is still Active when record is Inactive

    I created a workflow on the BPF.  It's trigger is Process Change (Stage Change).  The Step is a condition that evaluates whether the record on which the BPF is runningg is in an Inactive State and if it is to stop the workflow with an error.   This does not work, unffortunately.  I can still set the Active stage with the record on which it is running in an Inactive state.

  • Suggested answer
    Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: Business Process Flow is still Active when record is Inactive

    Hi,

    You can try to create a workflow trigger on business process flow entity status change. 

    Now every business process flow is an entity now.

    4274.13.png

    Crete a workflow / plugin , trigger on status change, throw meaningful error to user if the condition met.

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,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans