Available for: Content Management Server
Task: Forwards the file to a different group or a different user for editing.
Syntax:
obj (withId objId) | (withPath path) | root giveTo {parameter value}
Function parameters:
parametercan be one of the following:userLoginindicates thatvaluespecifies the user to which the task is assigned. Either this parameter orgroupNamemust be specified.groupNameindicates thatvaluespecifies the group to which the generated task is assigned. This value must be specified ifuserLoginis not specified.taskCommentis optional and indicates, if present, thatvalueis the comment that is to be assigned to the new task.
valueis the value of the corresponding parameter.
Return value if successful: none
Necessary permissions (CM only): The executing user must have the
permissionWrite permission for the specified file. The
receiver must have the permissionWrite permission.
Additional information: The following changes apply from version 6.5:
The user executing this command needs to have the
permissionWrite permission for the specified file or be its
editor. There are no restrictions for the recipient of the file.
Example:
CM>obj withId 65123 giveTo groupName admins