Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Changes the worker that is responsible for this activity.
Syntax
client server public static boolean changeResponsibleWorker(
smmActivityId _activityId,
CrmWorkerRecId _newResponsible,
[boolean _showInfo])
Run On
Called
Parameters
- _activityId
Type: smmActivityId Extended Data Type
The activity ID to which changing of responsible worker will affect.
- _newResponsible
Type: CrmWorkerRecId Extended Data Type
The new responsible worker.
- _showInfo
Type: boolean
Verbose mode will show Infologs regarding whether the method succeeded.
Return Value
Type: boolean
true if the change was successful; otherwise, false.
Exceptions
Exception | Condition |
---|---|
Error | The employee receiving this activity already has a entry for this activity from a previous reassignment. |