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 :
Microsoft Dynamics CRM (Archived)

How to restrict an on-demand workflow to group of users or system admins

(0) ShareShare
ReportReport
Posted on by 1,680

Hello,

We have a requirement for our administrative purposes to change status outside the defined process(on demand) for group of users or system admins. I tried to implement user scope workflows, but scope is limited to the automated process and not the on demand process. Kindly an experts can input their ideas for this. 

Thanks

Dw

*This post is locked for comments

I have the same question (0)
  • Guillermo Estevez Profile Picture
    on at
    RE: How to restrict an on-demand workflow to group of users or system admins

    [quote user="Scott Durow"]

    Hi  - You could always use security by obscurity by hiding the standard run workflow button and add custom buttons?

    [/quote]But if you follow this approach you are preventing any other given Workflow that can be run without the protecting logic. Am I wrong?

  • Guillermo Estevez Profile Picture
    on at
    RE: How to restrict an on-demand workflow to group of users or system admins

    [quote user="siba_sankar"]

    HI, You can use check condition in your process that modified by is not you or specific team, then stop workflow. it helps me.

    [/quote]Hi,

    i have tried to do this in CRM 365 online with no luck, the closest I can get is to do a compare on:

    Owning User (User Name): User Name does not equal [Modified By (User): User Name]

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: How to restrict an on-demand workflow to group of users or system admins

    HI, You can use check condition in your process that modified by is not you or specific team, then stop workflow. it helps me.

  • epark06 Profile Picture
    1,328 on at
    RE: How to restrict an on-demand workflow to group of users or system admins

    [quote user="LearningCRM"]

    I'd like to know if there was a workaround for this, that didn't require changing the security roles of all users or adding custom buttons. I need to restrict the on-demand workflow to a certain group (from multiple BUs). Would it be possible to add a "Stop Workflow" step if user updating certain field does not equal x,y,z?

    [/quote]

    Never mind, I just added the users to the field level security profile.

  • epark06 Profile Picture
    1,328 on at
    RE: How to restrict an on-demand workflow to group of users or system admins

    I'd like to know if there was a workaround for this, that didn't require changing the security roles of all users or adding custom buttons. I need to restrict the on-demand workflow to a certain group (from multiple BUs). Would it be possible to add a "Stop Workflow" step if user updating certain field does not equal x,y,z?

  • Suggested answer
    ScottDurow Profile Picture
    21 on at
    RE: How to restrict an on-demand workflow to group of users or system admins

    Hi  - You could always use security by obscurity by hiding the standard run workflow button and add custom buttons?

  • Drew Inc. Profile Picture
    1,680 on at
    RE: How to restrict an on-demand workflow to group of users or system admins

    Ah! Isn't there any easy solution for this? Thanks for the help Scott.

  • Suggested answer
    ScottDurow Profile Picture
    21 on at
    RE: How to restrict an on-demand workflow to group of users or system admins

    Hi,

    Ok - got it - since CRM security is addative and not restrictive - you'll need to restrict access to all workflows first and then give access accordingly. You can do this by normal user roles only having 'user' access to processes and then sharing the workflows with Business unit teams or other teams that need access.

    Hope this helps!

  • Drew Inc. Profile Picture
    1,680 on at
    RE: How to restrict an on-demand workflow to group of users or system admins

    Well sorry for the confusion. I just want give access to an on-demand workflow for group of people. But other workflows should work as is for all the users.

    Thanks

    Dw

  • Suggested answer
    ScottDurow Profile Picture
    21 on at
    RE: How to restrict an on-demand workflow to group of users or system admins

    You can give users permissions to workflows (Processes) in the same way as other records - so if you gave a user only BU access to Process they will only see workflows in their own business unit.

    Hope this helps!

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#2
ED-30091530-0 Profile Picture

ED-30091530-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans