Symptoms
Parrallel Approval Workflow in one activity
Diagnoses
When having a K2 studio Project with one process and using a form as well, the aim here is for the workflow to start when a a request button is click on the form and send out approval emails to two different people at same time, I have been able to create two different activities within this. The first person gets the approval notification then when that's is acted up on the second person gets notification for approval. However, when wanting both parties to receive notifications at the same time and approval can be done independently but when they both accept the request an email get's sent out to the person who did the request.
Is their an easier way this can be achieved?
Resolution
The correct way to configure this would be to do the following:
Destination settings:
- Within the destination settings, hit the back button to select advance mode.
- Rule Options: Select All At once, Hit next...
- Here you will specify the number of slots to be created to be as many as you would like. Select 'Specify the number of slots to be created'. Also select 'Resolve all roles and groups to users'. After this hit the finish button.
Default Client or Smartfrom Client events:
- Configure the actions e.g. Approve and Reject.
- Configure the outcomes: This will be the outcomes going to the email event. Double click on the first outcome for approve.
- Double click on the outcome again and select the logical function to be "at least" and the logical data to "2", as there are two slots you are using.
On the "Reject" Outcome do the same but for the logical data put "1".