工作流的ReplicatorActivity

原理是先以列表或数组的形式赋

在Init的时候

string[] branchApprovers = strBranchApprovers.Split(',');
repBranchApprove.InitialChildData = branchApprovers;
repBranchApprove.ExecutionType = ExecutionType.Parallel;

创建任务的时候根据currentIndex获取数据

repBranchApprove.CurrentChildData[currentIndex].ToString();

原文地址:https://www.cnblogs.com/chenfulai/p/1338532.html