/// <summary> /// 触发前执行 /// </summary> protected void OnBeforeExecuteWorkItem() { var delegateService = GetDelegateService(); var actionList = this.EventActivity.ActionList; ActionExecutor.ExecteActionListBefore(actionList, delegateService as IDelegateService); //----> 节点流转前,调用活动执行的委托事件 DelegateExecutor.InvokeExternalDelegate(this.Session, EventFireTypeEnum.OnActivityExecuting, this.EventActivity, ActivityForwardContext); }