The Set content type task assigns a content type to content stored in the repository. The content type determines the metadata structure that applies to the content and can be any content type defined in the application.
Use this task when content needs to be classified with a specific content type so that the appropriate metadata schema and properties can be applied.
During execution the task executes the SET_CONTENT_TYPE action. The specified content object is identified and the selected content type is applied to the content. The content receives the metadata structure associated with the assigned content type.
The input parameters of the task are:
| Parameter | Type | Required | Description |
|---|---|---|---|
| content | Content | Required | Specifies the content or content object to modify. |
| contentType | Content-mapping-type | Required | Specifies the content type to apply. The selected content type
determines which schema properties the content will have. The following
content types are usually used in Studio Modeler:
|
The output parameters of the task are:
| Parameter | Type | Required | Description |
|---|---|---|---|
| content | content | Optional | The modified content object. |