Esempio n. 1
0
        public virtual void updateSuspensionState(JobSuspensionStateDto dto)
        {
            if (!string.ReferenceEquals(dto.JobId, null))
            {
                string message = "Either jobDefinitionId, processInstanceId, processDefinitionId or processDefinitionKey can be set to update the suspension state.";
                throw new InvalidRequestException(Status.BAD_REQUEST, message);
            }

            dto.updateSuspensionState(ProcessEngine);
        }
Esempio n. 2
0
 public virtual void updateSuspensionState(JobSuspensionStateDto dto)
 {
     dto.JobId = jobId;
     dto.updateSuspensionState(engine);
 }