assignCap
Assigns the staff whose user ID is assignId to the current record. Also assigns the user's department.
Version
1.5
Parameters
Parameter | Type | Description |
---|---|---|
assignId | string | User ID of the user to whom to assign the record. |
capID (optional) | CapIDModel | Record ID to which to assign the user. |
Notes
If you use the optional parameter capID, the function assigns the staff and department to the record capID instead.