Available for: Content Management Server
Task: Cancels the current workflow and begins a new one (workflow action reject).
Syntax:
obj (withId objId) | (withPath path) | root reject [comment taskComment]
Additional information: If the file has a committed version, it is converted to a draft version.
Function parameters:
-
taskCommentis the comment that is to be entered in the new task.
Return value if successful: none
Necessary permissions (CM only):
- If there is a draft version, the user must have the
permissionWritepermission for the file. - If there is a committed version, the user must have the
permissionReadpermission for the file and be a member of one of the remaining entitled groups or have thepermissionRootpermission for the specified file.
Example:
CM>obj withId 2003 reject