Separation of duties

Separation of duties

DCR Designer now support resource expressions which makes it possible to add rules so the same user cannot perform different activities, i.e. they cannot approve their own expense report.

In the options panel under Resources you find a resource expression and message:

You can fill in a resource expression using the expression language also used in guards and computational activities.

A special word is now reserved, “user”, so it can be included in the expressions like illustrated below:

The userid of an activity is referred to using @Userid like illustrated above.

The user executing an activity cannot be the same user as the used that executed the FIll out expense report activity.

We assume that all users executing activities have a unique userid.

You can try it yourself in this DCR Process Model. Click simulate and try to Fill out expense report, and then click Approve. Then the system will display this error message: