createDiscretionaryTaskInCurrentCase operation
Creates a new activity instance of a discretionary activity type. The discretionary activity must be defined in the same solution.
| Parameter | Type | Description |
|---|---|---|
| caseId | String | The identifier of the case. You must set the expression for the caseID parameter to the F_CaseFolder business object field in the Expression Builder window. |
| discretionaryTaskName | String | The symbolic name of the discretionary activity. The name format must be PREFIX_ActivityName. |
| return_value | String | The GUID of the new activity. |