smmActivities::changeResponsibleWorker Method

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

  • _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.

See Also

Reference

smmActivities Table