I would like to include in an email template the list of resolution, resolutionNote stored in a multi instance subprocess' outputCollection.
I guess I need to first create a variable to store the required object but how could I access the outputCollection in a following script task?
on the db the process outputCollection looks like this:
I guess I need to first create a variable to store the required object but how could I access the outputCollection in a following script task?
on the db the process outputCollection looks like this:
Code:
"outputCollection": [
{
"processId": "656f6aec02143b973",
"resolution": "Reviewed",
"resolutionNote": null,
"reviewerId": "6408b0a9550d66984",
"reviewerName": "Reviewer 1"
},
{
"processId": "656f6aec02143b973",
"resolution": "Changes",
"resolutionNote": "Here is my note as review2",
"reviewerId": "6408b0f882f2664f2",
"reviewerName": "Reviewer 2"
},
{
"processId": "656f6aec02143b973",
"resolution": "Changes",
"resolutionNote": "my note as reviewer-3",
"reviewerId": "6408b1303dd2d9f48",
"reviewerName": "Reviewer 3"
}
]

Comment