Newer Version Available
login for Lightning Experience
Logs an agent in to Omni-Channel with a specific presence status.
Arguments
| Name | Type | Description |
|---|---|---|
| statusId | string | The ID of the presence status. Agents must be given access to this presence status through their associated profile or permission set. |
Sample Code
Component code:
Controller code:
Response
This method returns a promise that, upon success, resolves to true and is rejected on error.