insertSubProcess
Dynamically adds a workflow process as a subprocess to an existing task.
Version
2.0
Parameters
Parameter | Type | Description |
---|---|---|
taskName | string | Name of the task that is the parent for the sub-process. |
process | string | Name of the reference workflow process that the function adds a subprocess. |
completeReqd | boolean | True if you must complete the subprocess before you promote the parent task. Otherwise, false. |
itemCap (optional) | CapIDModel | Optional target capId. |
Example
insertSubProcess(“Reviews”,”PLAN_REVIEW_VER1”,true);