Enable GraphQL subscriptions for job and allocation updates

Overview

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.

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.

The following error is displayed in the Beta features page if no API user is set.

Screenshot of the settings option to enable GraphQL subscriptions

See API user for more information.

You can enable the GraphQL subscriptions for job and allocation updates feature in the Skedulo web application:

  1. Open Settings > Beta features then click the checkbox next to GraphQL subscriptions for job and allocation updates.

  2. Skedulo for Salesforce users can choose from the following three subscription methods for this service:

    1. None: Live updates on jobs and allocations are disabled entirely.

    2. Platform events: Streams job and allocation platform events through the GraphQL subscription.

    3. Polling: This setting polls Salesforce for updates then sends them through to Skedulo.

  3. Click Save in the lower-right corner.

  4. Refresh your browser to apply the changes.