或者在AfterFlowOut 事件上来做,在这里能读取到下个环节的接受者,参考
var
lFlowTask:TFlowTask;
begin
lFlowTask := command.FlowTasks.GetFlowTask(FlowBroker1.FlowControl.CurrentProcUnit.SuccedentUnits[0]);;
if lFlowTask <> nil then
begin
dialogs.ShowMessage(lFlowTask.AllowExecutorRange);
dialogs.ShowMessage(lFlowTask.ExecutorRange);
end;
end;