createCaseUsingSpecifiedCaseType operation
Creates a new instance of a case for the specified case type.
Before you use the createCaseUsingSpecifiedCaseType operation, use the getCasePropertyNames,
getCasePropertyValues, and getCaseStructure operations to get the appropriate return values. Use
these returned values for customPropertyNames,
customPropertyValues, and caseStructure parameters in the
createCaseUsingSpecifiedCaseType operation.
Tip: The getCasePropertyNames
and getCasePropertyValues operations require that you specify the identifier for an existing case.
If this case is not of the same case type as you specify for the createCaseUsingSpecifiedCaseType
operation, the property names and values might not match. The createCaseUsingSpecifiedCaseType
operation can match values for any case properties that are shared between the two case types.
Values for case properties that are not shared are blank in the new case.
| Parameter | Type | Description |
|---|---|---|
| caseType | String | The case type name in symbolic form. |
| customPropertyNames | String[ ] | Values that are returned from the getCasePropertyNames operation. |
| customPropertyValues | String[ ] | Values that are returned from the getCasePropertyValues operation. |
| caseStructure | String[ ] | The case structure value that is returned from the getCaseStructure operation, passed as
an array of strings of the form
folder_path/=doc_version_series_ID. |
| return_value | String | The GUID of the new case. |