branchTask
Updates the workflow task wfstr as follows
Status = wfstat
Status Date = current date
Status Comment = wfcomment
Action By = current user
Version
1.3
Parameters
Parameter | Type | Description |
---|---|---|
wfstr | string | Workflow task name. |
wfstat | string | Status. |
wfcomment | string | Comment. |
wfnote | string | Note to add to the workflow task. |
wfProcess (optional) | string | ID (R1_PROCESS_CODE) for the process that the task belongs to. Required for multi-level workflows. |
Notes
The function closes the task wfstr and the workflow proceeds to the branch task.
If record’s workflow contains duplicate wfstr tasks, use parameter wfProcess to specify the process or subprocess whose wfstr to edit.