Workflow Veteran

Change Task outcome based on user group

Is there a way to have one Flexi task but the outcomes that display are different based on which group the user/assignee is a member of?  

I've tried using parallel actions before where each branch has a different tasks (request data) with different outcomes for each group. Then get the ID of the task and once one of them has been actioned then I complete the others. but it has been acting a bit funny, with overriding the completed task with the blank values (request data) task.. in addition that the ID of the task doesn't get assigned unless it has been completed. 

This case is a bit different, I need to show/hide different outcomes for different users but use the same flexi-task. Is it even possible? 

0 Kudos
1 Reply
Automation Master
Automation Master

Re: Change Task outcome based on user group

I think it could be achievable.

configure flexi task with all the possible outcomes of all the groups.

then I would see two approaches:

1. (easier one): configure a validation rule on decision control like

not(IsMemeberOfGroup('GroupA') && (Decision == 1 || Decision == 2))

(ie. members of groupA can only choose outcomes with values 1 or 2)

2. (complex one): write a javascript that based on group membership would hide not applicable decision options.

0 Kudos