示例#1
0
        /// <summary>
        /// 准备流程,然后流转到活动D
        /// </summary>
        /// <returns></returns>
        public static IWfActivity PrepareAndMoveToSpecialActivity()
        {
            IWfProcessDescriptor processDesp = ReturnExecutorTestHelper.PrepareSpecialReturnProcessDesp();

            IWfProcess process = ReturnExecutorTestHelper.StartSpecialReturnProcess(processDesp);

            WfProcessTestCommon.MoveToNextDefaultActivity(process);             //To B
            WfProcessTestCommon.MoveToNextDefaultActivity(process);             //To C
            WfProcessTestCommon.MoveToNextDefaultActivity(process);             //To D

            return(process.CurrentActivity);
        }