public void CloseTimer( WorkflowInstance instance, long schedulerJobId )
Close timer in the process instance
Syntax
public void CloseTimer( WorkflowInstance instance, long schedulerJobId )
Parameters
- instance
- Type: WorkflowInstance
Process instance. Object. Access path: PublicAPI.Processes.WorkflowInstance
- schedulerJobId
- Type: System Int64
Scheduler job ID
Examples
//load the process instance by ID var instance = PublicAPI.Processes.WorkflowInstance.Load(3); //scheduler job ID long schedulerJobId = 3; //close the timer PublicAPI.Processes.WorkflowInstance.CloseTimer(instance, schedulerJobId);
See Also