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:
parameter
can be one of the following:
userLogin
indicates that value
specifies
the user to which the task is assigned. Either this parameter or groupName
must be specified.groupName
indicates that value
specifies
the group to which the generated task is assigned. This value must be specified if
userLogin
is not specified.taskComment
is optional and indicates, if present, that
value
is the comment that is to be assigned to the new
task.value
is 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