public IEnumerable<TaskBase> GetActiveTasks( WorkflowInstance instance )
Get all the active tasks on the process instance
Syntax
public IEnumerable<TaskBase> GetActiveTasks( WorkflowInstance instance )
Parameters
- instance
- Type: WorkflowInstance
Process instance. Object. Access path: PublicAPI.Processes.WorkflowInstance
Return Value
Type: IEnumerable TaskBaseActive tasks collection
Examples
//load the process by ID var instance = PublicAPI.Processes.WorkflowInstance.Load(3); //get all the active tasks var activeTaskList = PublicAPI.Processes.WorkflowTaskBase.GetActiveTasks(instance); //activeTaskList - list of the process active tasks
See Also