Take the 2-minute tour ×



share|improve this question

1 Answer 1

up vote 0 down vote accepted

I actually solved it.

Here's the code which does the trick:

internal static void AddTask(ReplicatorActivity replicator, ReplicatorChildEventArgs args, string assignedTo)
  SPTaskActivity taskActivity;

  taskActivity = args.Activity as SPTaskActivity;

So the idea is to modify the child data property in the replicator (which is used to generate multiple wokrflow tasks). It is necessary to add the new user to both CurrentChildData collection and the InnitialChildData collection to make it work; and that, for me, was very difficult to resolve. I am still not 100% sure why it needs to be done that way.

share|improve this answer

Your Answer


