taskStatusDate

Version

1.5

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 current status date of the workflow task wfstr.

Notes

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

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