예제 #1
0
        public override ProcessInstanceModificationInstantiationBuilder startAfterActivity(string activityId)
        {
            ensureNotNull(typeof(NotValidException), "activityId", activityId);
            AbstractInstantiationCmd currentInstantiation = new ActivityAfterInstantiationCmd(processInstanceId, activityId);

            operations.Add(currentInstantiation);
            return(this);
        }
예제 #2
0
        public virtual IProcessInstanceModificationInstantiationBuilder StartAfterActivity(string activityId)
        {
            EnsureUtil.EnsureNotNull(typeof(NotValidException), "activityId", activityId);
            AbstractInstantiationCmd currentInstantiation = new ActivityAfterInstantiationCmd(ProcessInstanceId,
                                                                                              activityId);

            ModificationOperations.Add(currentInstantiation);
            return(this);
        }