public void ChangeTimer( WorkflowInstance instance, long schedulerJobId, DateTime time )
Change timer in the process instance
Syntax
public void ChangeTimer( WorkflowInstance instance, long schedulerJobId, DateTime time )
Parameters
- instance
- Type: WorkflowInstance
Process instance. Object. Access path: PublicAPI.Processes.WorkflowInstance
- schedulerJobId
- Type: System Int64
Scheduler job ID
- time
- Type: System DateTime
New timer time
Examples
//load the process instance by ID var instance = PublicAPI.Processes.WorkflowInstance.Load(3); //scheduler job ID long schedulerJobId = 3; //new timer time var time = DateTime.Now.AddDays(3); //change timer PublicAPI.Processes.WorkflowInstance.ChangeTimer(instance, schedulerJobId, time);
See Also