cancel
Showing results for 
Search instead for 
Did you mean: 

Two assignees for two different review

thomasg
Champ in-the-making
Champ in-the-making
Hi Alfrescans,

I would need to create a workflow which involves to different assignees:
- assignee1 review the document
- if it is accepted, assignee2 will review it.

What is the best practice to do that, do I need to create an aspect bpm:assignee2?
Is there any exemple that is currently existing within alfresco or from someone else?

Many thanks,
Thomas
1 REPLY 1

rahulmackdani
Champ in-the-making
Champ in-the-making
Hi Thomas

You need to create a new workflow similar to OOTB workflow 'Review and Approve'.In the custom workflow you need to add an additional step for second user's review if first user's review is Approved.

Following changes need to be added

Add a new task assignee2review
userTask id="assignee2review" name="Second Review Task"

Change decision sequence flow

sequenceFlow id='flow3' sourceRef='reviewDecision' targetRef='assignee2review'
conditionExpression xsi:type="tFormalExpression">${wf_reviewOutcome == 'Approve'}

Regards,