Available for: Content Management Server
Task: The specified file is released.
Syntax:
obj (withId objId) | (withPath path) | root release {parameter value}
Additional information: If the file has not been committed, it is committed before it
is released (this means it is subjected to a commit operation). If
signatures are still missing, they will be generated.
Function parameters:
-
parameterspecifies the name of a parameter of this workflow command. The following values are allowed:commentspecifies thatvalueis a comment that appears in the log file (no task is generated for the workflow action release ).
valuecontains the value of the respective parameter.
Return value if successful: none
Necessary permissions (CM only):
- Users to whom the
permissionRootpermission has been granted for a file may unconditionally release this file at any time. - If a file to which a workflow is assigned has a committed version, and only the last signature is missing from the workflow, the user requires read permission for this file and needs to be a member of a group authorized to provide the last signature.
- If the file concerned has a draft version, and the release action
is the last step in the workflow of this version, the user needs to be its
editor and have the
permissionWritepermission for the file. - If the file has a draft version and no released version, and there
is no workflow assigned to the file, the user needs to be the editor of
the version and have the
permissionWritepermission for the file.
Example:
CM>obj withId 2003 release