Enable GraphQL subscriptions for job and allocation updates
Skedulo for Salesforce customers might benefit from enabling the GraphQL subscriptions for job and allocation updates feature to reduce the number of API requests made between Salesforce and Skedulo for streaming updates on jobs and allocations.
GraphQL subscriptions for job and allocation updates is currently a beta feature.
Beta features should be considered “in development” and may not be fully supported or complete. Beta features are available as a preview for testing purposes and may be unstable. They should be used with caution in production environments.
The GraphQL subscriptions beta feature can also be enabled in standalone Skedulo organizations, however, there is no benefit to doing this in a Skedulo organization as users will not see any difference in the way jobs and allocations update.
Enabling GraphQL subscriptions changes where updates on jobs and allocations are sourced from in the Skedulo web application.
By default, Skedulo sources updates on jobs and allocations in Salesforce through websocket updates. Enabling the GraphQL subscriptions beta feature will pull updates on jobs and allocations from GraphQL subscriptions on the jobs and allocations schema objects.
ImportantYou must have an API user set to enable the GraphQL subscriptions for job and allocation updates feature.
The following error is displayed in the Beta features page if no API user is set.
See API user for more information.
You can enable the GraphQL subscriptions for job and allocation updates feature in the Skedulo web application:
Open Settings > Beta features then click the checkbox next to GraphQL subscriptions for job and allocation updates.
Skedulo for Salesforce users can choose from the following three subscription methods for this service:
None: Live updates on jobs and allocations are disabled entirely.
Platform events: Streams job and allocation platform events through the GraphQL subscription.
Polling: This setting polls Salesforce for updates then sends them through to Skedulo.
Click Save in the lower-right corner.
Refresh your browser to apply the changes.
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.