isTaskComplete
Version
1.3
Parameters
Parameter | Type | Description |
---|---|---|
wfstr | string | Workflow task name. |
wfProcess (optional) | string | Workflow process name. |
Returns
Returns true for a completed workflow task wfstr. Otherwise, returns false.
If used with the WorkflowTaskUpdateAfter event, this function returns true if wfstr becomes completed as a result of the WorkflowTaskUpdateAfter event.
Notes
If record’s workflow contains duplicate wfstr tasks, use parameter wfProcess to specify the process or subprocess whose wfstr to check.
wfProcess is R1_PROCESS_CODE in the GPROCESS and SPROCESS tables. wfProcess is normally in uppercase.