getTask(id) this method returns the workflow task instance
with the specified ID.
Parameters
- id
- The ID of the workflow task instance.
Returns
Returns the workflow task instance with the specified ID. Returns null if no workflow task instance with the given ID exists.
Example
var taskId = "activiti$144"; model.task = workflow.getTask(taskId);