login for Lightning Experience
Logs an agent in to Omni-Channel with a specific presence status.
| 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. |
Component code:
Controller code:
This method returns a promise that, upon success, resolves to true and is rejected on error.