Replicator Activity in sequential Mode for Approval WorkFlow in SharePoint 2010
-
2011年2月8日 6:59
Hi,
I am trying to create a Dcoument Approval WorkFlow, with Custom Task Edit infopath forms
Flow is ,When A Document is added into the List , it is assingned to User A , who is Orignator's Manager.
When User A Approves the document , it Assigned to User B for Approval.User B is fixed.
When User B has approved the document , then User B himself will assign the document to User C(Which means User C is dynamic and will be there at runtime).
When User C Approves it , A Task should be created for User , and work Flow should continue till User C Completes his Task.
Is Any of the Users , rejects the Task, The Workflow Should Stop.
How I implmented it ;
I created one Sequence Activity , as follows :
- -create Task
- -whileTaskNotComplete (onTaskChanged)
- Complete Task
then Placed this Activity under Replicator Activity.
I am not sure how to set Replicator initialized and Child initialzed values .
I know replicator needs to be run for 3 times, but the last iterations value is not fixed, it is provided at runtime under second iteration.and under onTaskChange event of Activity.
How can I pass this value to workflow or next iteration?
second thing when i am setting any value for Apporver under replicator initialized method , it is assigning all the Tasks to same Approver which is set under initialized method.
could you please help me , I referred the videos http://www.shillier.com/Videos/MultipleTasks.wmv, but it is for Parallel mode , I need in sequential mode.
Thanks in advance.
Azra
全部回复
-
2011年2月9日 10:18
Hi,
Can anyone please help?
I would like to add , though I am trying to set public property at each child initialized, it is picking up last iteration value when going inside child activity.
Childinitialization date contains IList as {1,2,3}
but it is assigning 1,1,2,3 means first iteration is running twice.
thanks
-
2011年2月9日 13:25
This post helped me to find my answer, http://blogs.msdn.com/b/advancedworkflow/archive/2006/03/21/557121.aspx- 已标记为答案 Azra Ansari 2011年2月9日 13:25
-
2012年3月14日 6:29
Could you please provide me a solution for this???
I want to implement Replicator activity with sequential mode.

