The EXECUTE_ACTION action executes an Alfresco Content Services (ACS) action against a file or folder in the repository.
Use this action to run repository actions that are already defined in ACS. The target content can be identified using a file, folder, node ID, or repository path. Additional action-specific parameters can be supplied to control the action behavior.
During the operation, the connector identifies the target file or folder, then the specified ACS action definition is located and any supplied action parameters are applied. Next, ACS executes the action against the target content. The action returns an execution identifier that can be used to track the action request.
The input parameters of the action are:
| Parameter | Type | Required | Description |
|---|---|---|---|
| actionDefinitionId | String | Required | Identifier of the ACS action to execute. For example, copy. |
| file | Array<json>, JSON | Optional | ACS file against which the action will be executed. If multiple files are provided, only the first file is processed. |
| folder | Array<json>, JSON | Optional | ACS folder against which the action will be executed. Folder variables are typically initialized by content actions or content-event triggers. |
| nodeId | String | Optional | Node identifier of the target file or folder. For example: a6a977a6-c728-4038-8dbc-d914c4d8cfb3. |
| params | JSON | Optionals | Action-specific parameters supplied as key-value pairs. |
| path | String | Optional | Repository location or relative path of the target node. For example: /app:company_home/app:user_homes/cm:hruser or /User Homes/hruser. |
The output parameters of the action are:
| Parameter | Type | Required | Description |
|---|---|---|---|
| actionExecutionId | String | Optional | Identifier of the action execution. |