The UNLOCK_NODE action removes a lock from a file or folder in Alfresco Content Services (ACS).
Use this action when content has been locked to prevent modifications and needs to be made editable again. Unlocking a node allows authorized users and processes to update content, metadata, and other properties associated with the file or folder. The action can be performed against both files and folders within the repository.
During the operation, the connector identifies the target file or folder. ACS verifies that the content is currently locked. The lock is then removed from the node and the content becomes available for modification. Once unlocked, authorized users and workflows can update the content according to the repository's security permissions.
The input parameters of the action are:
| Parameter | Type | Required | Description |
|---|---|---|---|
| file | Array<json>, JSON | Optional | ACS file to unlock. If multiple files are provided, only the first file is processed. |
| folder | Array<json>, JSON | Optional | ACS folder to unlock. If multiple folder references are provided, only the first folder is used. |
| nodeId | String | Optional | Node ID of the file or folder in ACS. For example: a6a977a6-c728-4038-8dbc-d914c4d8cfb3. |
| path | String | Optional | Location or relative path of the file or folder to unlock. |
The output parameters of the action are:
| Parameter | Type | Required | Description |
|---|---|---|---|
| response | Array<json> | Optional | Response returned by ACS for the unlock request. |