isTaskStatus
Version
1.3
Parameters
Parameter | Type | Description |
---|---|---|
wfstr | string | Workflow task name. |
wfstat | string | Workflow status. |
wfProcess (optional) | string | Workflow process name. |
Returns
Returns true if workflow task wfstr has the current status of wfstat, or false if it does not. Returns false if the function does not fine wfstr.
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.