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

Notifications

Announcements

No record found.

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)
  • Suggested answer
    ScottDurow Profile Picture
    21 on at

    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!

  • Drew Inc. Profile Picture
    1,680 on at

    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

    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

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

  • Suggested answer
    ScottDurow Profile Picture
    21 on at

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

  • epark06 Profile Picture
    1,328 on at

    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?

  • epark06 Profile Picture
    1,328 on at

    [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.

  • Suggested answer
    Community Member Profile Picture
    on at

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

  • Guillermo Estevez Profile Picture
    on at

    [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]

  • Guillermo Estevez Profile Picture
    on at

    [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?

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans