views:

8

answers:

0

Hi I have a workflow that generates multiple tasks based on some selections in the workflow. I am using a replicator activity to generate these tasks in parallel. These tasks are approval tasks and I need to save Approved Status (Aproved or Rejected) and a comment from the approver back into the list item which initiated the workflow.

There are 5 custom columns in the list to store these values say Decision1, Decision2...Decision5 and Comment1, comment2...Comment5. Now, because of the parallel execution of replicator activity I don't have a way to know which task is being executed and which DecisionN and ccommentN should the data get saved. When I run it all tasks save data to Decision5 and Comment5 overwriting each other.

This works perfectly in Sequential execution mode though, but that is not practical as 5 columns is just for development in production environment there will be about 20 columns or so.

Please advise how to fix this, I am open to ideas to change the structure all together if need be.

Cheers Amit