Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home/Support and troubleshooting/Examples and how to

How to Make Workflow Assignments for User Groups

Last updated on 30 December 2022

Admin
Assignments

Overview

Sometimes you want to create Workflow Assignments just for specific User Groups. This article shows you step-by-step how to do just that as an M-Files Admin.

There is open improvement (ID 17150) to make user groups available in assignments.

The completed improvement will be is listed on Release note pages after it has been implemented.

Workaround

First open M-Files Admin and navigate to your Vault and under Metadata Structure (Flat View) choose Property Definitions. Create a new Property Definition with the following settings:

image.png

In this example, Assignment object type is used and separate workflow assignment is created for this Assignment object. Any other object type could be used.

Now create a new Workflow with two states: No State and Assign to Group

image.png

For the Assign to Group -state, go to Actions-tab of the state Properties and tick the 'Create separate assignments' box. Now click Add. 

image.png

On the right side of the Assign to -box, click Add… and tick User from metadata: From the drop-down list, choose the Property 'Group' we created in an earlier step.

image.png

Click Add. Set Select Assignment Class as Assignment, write a title and a description and click OK.

image.png

Remember to Save the Workflow.

Now when you create a new Assignment object, choose Add property and add 'Group'. Then you can choose which User Group you want to assign the Assignment to, set to 'Assign to Group' -Workflow and click Create.

After this there will be separate assignment object created by workflow, which has users in Assigned to property based on chosen user group:

image.png

Still need help?

On this page