acceptAgentWork for Lightning Experience
Accepts a work item that’s assigned to an agent.
| Name | Type | Description |
|---|---|---|
workId | string | The ID of the work item the agent accepts. |
Component code:
Controller code:
This method returns a promise that, upon success, resolves to true and is rejected on error.