obj objRef commit

Available for: Content Management Server

Task: The workflow action commit is executed, thereby converting the draft version to a committed version. The version will be released instead if its workflow contains no signing groups.

Syntax:

obj (withId objId) | (withPath path) | root commit {parameter value}

Function parameters:

  • parameter specifies the name of a parameter of this workflow command. The following values are allowed:
    • comment specifies that value is the comment that is entered in the next task.
  • value contains the value of the respective parameter.

Return value if successful: none

Necessary permissions (CM only): The user must have the permissionWrite permission for the specified file and be its editor, or the user must be the administrator of the file.

Example:

CM>obj withId 2003 commit