The Create content creates new content in the repository. The created content can be stored for future use, reused by other tasks within the process, or both. Content is created under a specified target container.
Use this task when you need to create repository objects such as folders, documents, or other content types as part of a workflow.
During execution the task executes the CREATE_CONTENT action. A content object is created using the specified content type and the configured target container. The created content can be mapped to a process variable and used by subsequent workflow activities.
The input parameters of the task are:
| Parameter | Type | Required | Description |
|---|---|---|---|
| contentType | JSON | Required | Specifies the content type to apply to the created content. This determines which schema properties the content will have. Both system-defined and custom content types are supported. |
| name | string | Optional | Name of the content. |
| permissions | Array<JSON> | Optional | Permissions to grant or remove for users, groups, or everyone within the application. |
| targetContainer | content | Requires one | Container where the new content object is created. The container can be provided through a content variable, content identifier, or content path. |
The output parameters of the task are:
| Parameter | Type | Required | Description |
|---|---|---|---|
| content | content | Optional | The created content object. |