Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Workflow status check

Posted on by Microsoft Employee

Hi everyone! I'm trying to develop a workflow where I check if an option set field is set to a proper value depending on whether the user is deactivating a record or not. How can I check for this? I know the option to run a workflow before the status changes but it only needs to run on a record deactivation, not an activation. Any thoughts? Thanks!

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Workflow status check

    I just realized that if I check the current status and it is active, then the record status must be in the process of being changed to deactivated. Duh! Thanks for the help!

  • Verified answer
    ashlega Profile Picture
    ashlega 34,475 on at
    RE: Workflow status check

    Hi,

     what do you want to achieve?

     You can always add a condition step to the workflow to check the status - it will run for all status changes, but, because of that condition, it will only do something for inactive statuses.

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