The Create content task is used to create new content to store in the repository, to reuse content in another task within the process, or both. The content is created under the defined target container.
The Action for this task is CREATE_CONTENT.
The Create content input parameters are:
Parameter | Type | Required | Description |
---|---|---|---|
contentType | JSON | Required | Specifies which of the defined content types in the repository to apply to the created content. This determines which schema properties the content will have. You can use both system and customized content types. |
name | string | Required | Name of the content. |
targetContainer | content | Requires one | Container where the content object to be created is placed. The container receives a content type variable. This variable can be initialized from a content task such as FETCH_CONTENT, or by using a Content identifier or Content path in Studio Modeling. |
The Create content output parameters are:
Parameter | Type | Required | Description |
---|---|---|---|
content | content | Optional | The created content object. |