function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
wailok tam 7wailok tam 7 

Manipulating Omni Channel Objects in Visualforce Page without involving the streaming API

My company aims at providing external routing for our customers. There is a guide (https://developer.salesforce.com/docs/atlas.en-us.omni_channel_dev.meta/omni_channel_dev/omnichannel_external_routing.htm) describing how this can be done. It involves running a connector written in Java connecting to the Streaming API before creating AgentWork. Is there a way to do this without involving the Streaming API? For some reason, running the Java connector is not desirable. I try creating an AgentWork record like a Contact record in a visualforce page without success. The error message I get is something like:
''' The agent's status is not associated with the channel for this work '''
All the fields except CapacityPercentage is left empty.