Assign the Same User After the Task Is Done But Still Same Target Group

0
Hi,   As far as I know, default task inbox shows tasks for targeted group. So that, they assign task for themselves.    I want to directly assign the same assigned user for the future task automatically, after the current task is done. However, at the same time, i want to keep targeted users still same. So that, the other users in the same targeted group can see the new task on TaskInbox page. For case the user is on holiday, maybe they wanna take the task from the current assigned user.   How can I achive this for best-practise ?
asked
1 answers
2

Hi Alp,

suppose your usertask name is 'step1_approve'

In user task  you can configure two microflows

1)assignment microflow (which sets the target user)

2) after create microflow (where you can set assignee or do something else also)

In the after create microflow retrieve by xpath completed state usertaskview entity object of same name step1_approve  (as they are not maintaining completed state usertask entity object  as far as i remember )  if it retrieve then also retrieve its list of assigned user and put same assigned user in current in progress state  step1_approve task.

If it doesn't retrieve then do nothing as it means first time usertask is being created 

 

answered