raiseAgentWorkFlag for Lightning Experience

Raises a flag for this agent work item.

NameTypeDescription
workIdstringThe ID of the work item to raise the flag on.
messagestringOptional. The message associated with this flag.

Component code:

Controller code:

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.

See Also