How to restrict user from executing On Demand Flow/Workflow

By | April 6, 2020

Introduction

In Dynamics 365 CRM, we can create On Demand Flows / Workflows, which allows user to execute them manually to perform certain actions as and when required. But what if you do not want specific users to execute these Flows manually?

In such case, follow the steps given below to restrict users from executing Flows manually:

1. Create Custom Security Role.

2. Update Security Role to remove read access for Process entity as shown in below screenshot:

Workflow

 

3. Apply the security role to user.

Given below is an example where we have created an On Demand Workflow and Flow for the Account entity:

Workflow

Once you remove access to process entity, users will get the following pop-up showing access error when they try to execute On Demand Flow/Workflow:

Workflow

Conclusion

In this way, by following the above steps you can easily restrict users from executing On Demand Flow/Workflow.

 

Leave a Reply

Your email address will not be published. Required fields are marked *