loopTask
Version
1.3
Parameters
| Parameter | Type | Description | 
|---|---|---|
| wfstr | string | Workflow task name. | 
| wfstat | string | Status to assign. | 
| wfcomment | string | Comment to add. | 
| 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
Updates the workflow task wfstr as follows:
- Status = wfstat 
- Status Date = current date 
- Status Comment = wfcomment 
- Action By = current user 
Closes task wfstr and promotes workflow to the loop task.
If record’s workflow contains duplicate wfstr tasks, use parameter wfProcess to specify the process or subprocess whose wfstr to check.