Newer Version Available

This content describes an older version of this product. View Latest

raiseAgentWorkFlag for Lightning Experience

Raises a flag for this agent work item.

Arguments

Name Type Description
workId string The ID of the work item to raise the flag on.
message string Optional. The message associated with this flag.

Sample Code

Component code:

Controller code:

Response

This method returns a promise that, upon success, resolves to true and is rejected on error.

When Omni-Channel Fallback Mode is enabled, the raise and lower flag feature isn't supported. If this method is used, it doesn’t perform any operations and always resolves to true.

Note