taskStatus

Version

1.3

Parameters

Parameter Type Description
wfstr string Workflow task name.
wfProcess (optional) string ID (R1_PROCESS_CODE) for the process that the task belongs to.
capId (optional) CapIDModel Record ID object for record to use.

Returns

Returns the status of the workflow task wfstr.

Notes

If record's workflow contains duplicatescheduleins wfstr tasks, use parameter wfProcess to specify the process or subprocess whose wfstr to check.

If you use the parameter capId, the function retrieves data from the record capId.