Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Prevent user to activate a workflow

Posted on by

I need to prevent some users from Activating the workflows. they should be able to create or update workflows in draft state?

Is there any privilege as such. Does "Execute Workflow" privilege does this?

Thanks

*This post is locked for comments

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Prevent user to activate a workflow

    Gouram,

    You can try remove write permission but I don't think it'll do the trick.

    So the answer - you can try but I'm afraid you will get nothing.

  • Goutham A Profile Picture
    Goutham A on at
    RE: Prevent user to activate a workflow

    if we remove write permission, will it do. I mean he can create an workflow, but not update or activate it.

    Also i think we can do it via java script to hide the button.

  • ashlega Profile Picture
    ashlega 34,475 on at
    RE: Prevent user to activate a workflow

    Was thinking along the same lines, but, it seems, we can't register workflows/plugins on the "process" entity.. Maybe the answer is just "it's not possible"

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Prevent user to activate a workflow

    Hello,

    No there is no separated property for that. "Execute Workflow" allows/disallows user to execute on-demand workflows.

    As a potential workaround you can try to develop plugin that will handle change state of workflow entities and throw an exception if user will not be allowed to activate it.

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