起步软件技术论坛-X3

 找回密码
 立即注册
搜索
查看: 413|回复: 2

【搞定】能否在流程没有流转时通过代码取环节的执行规则和执行人范围?**

[复制链接]
发表于 2007-2-8 09:24:20 | 显示全部楼层 |阅读模式
能否在流程没有流转时通过代码取环节的执行规则和执行人范围?
回复

使用道具 举报

发表于 2007-2-8 10:34:26 | 显示全部楼层
流程中可以通过flowcontrol得到当前所在的环节 CurrentProcUnit
环节上就可以得到定义的各种规则了

NameSpace: Business.Model.Flow
--------------------------------------------------------------------------------
TProcActivity = class(TProcDataPolicyUnit)
public
  constructor create(AOwner: Business.System.TComponent);
  procedure Destroy; override;
  property AfterFlowBack: TFlowBackEvent;
  property AfterFlowOut: TFlowOutEvent;
  property AfterFlowTransmit: TFlowTransmitEvent;
  property AfterNotify: TFlowNotifyEvent;
  property AfterTaskAbort: TTaskAbortEvent;
  property BeforeFlowBack: TFlowBackEvent;
  property BeforeFlowOut: TFlowOutEvent;
  property BeforeFlowTransmit: TFlowTransmitEvent;
  property BeforeNotify: TFlowNotifyEvent;
  property BeforeTaskAbort: TTaskAbortEvent;
  property BizData: TProcUnitBizData;
  property BizDataKeys: Business.Model.TBizRefs;
  property BizDataTaskMaps: TFlowBizDataObjectMaps;
  property BizKind: string;
  property Condition: Business.Model.TBizExpression;
  property ExecuteRules: TExecuteRules;
  property FlowBackRules: TFlowBackRules;
  property FlowMergeRules: TFlowMergeRules;
  property FlowOutRules: TFlowOutRules;
  property FlowTransmitRules: TFlowTransmitRules;
  property FreedomUnit: Boolean;
  property FuncURL: Business.Model.TBizRef;
  property IsAsynchronous: Boolean;
  property NotifyRules: TNotifyRules;
  property OnCreateFlowBackFlowTasks: TFlowBackEvent;
  property OnCreateFlowOutFlowTasks: TFlowOutEvent;
  property OnCreateFlowTransmitFlowTasks: TFlowTransmitEvent;
  property OnCreateNotifyFlowTasks: TFlowNotifyEvent;
  property OnGetAbortTasks: TGetTasksEvent;
  property OnGetFlowBackTasks: TGetTasksEvent;
  property OnGetFlowNotifyTasks: TGetTasksEvent;
  property OnGetFlowOutTasks: TGetTasksEvent;
  property OnGetFlowTransmitTasks: TGetTasksEvent;
  property TaskBatchRules: TTaskBatchRules;
end;
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-2-8 13:07:45 | 显示全部楼层
已经解决.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Justep Inc.

GMT+8, 2024-12-24 21:53 , Processed in 0.034756 second(s), 15 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表