Upon first submission of a form by a user we trigger a Job Task Assign action:
{
"name": "Referee",
"type": "",
"actions": [
{
"name": "Assign Review",
"type": "Job Task Assign",
"properties": [
{
"name": "Task Assign Email",
"value": "$formDataMap.RefOneEmail|$formDataMap.RefTwoEmail"
},
{
"name": "Task Form Code",
"value": "$func.startFormCode()"
},
{
"name": "Task Form XML Data",
"value": "$func.stepOrPreviousSubmissionXml()"
},
{
"name": "Task Attachments Submission Step",
"value": "Application Start"
},
{
"name": "Task Send Email",
"value": "true"
},
{
"name": "Task Type",
"value": "Anonymous"
},
{
"name": "Task Assign Repeating",
"value": "true"
}
]
},
{
"name": "Review Wait",
"type": "Job Task Wait"
}
],
"routes": [
{
"name": "Default",
"nextStep": "Deliver Submission"
}
]
}
which assigns a task to 2 different reviewers in parallel. We want to process the Delivery of each completed review task as they arrive rather than waiting for both to complete via the "Job Task Wait" and then performing an action. So, according to the config above we want "Deliver Submission" to actually run for each task immediately that it completes. Is this possible? How might we go about doing it?
Matt