Error 17
In cases where Flows are configured to asynchronously publish Platform Events to Service Board, and changes to records are synced from Service Board to Salesforce, the same changes are immediately synced back from Salesforce to Service Board.
For example, if the Salesforce Flow for Work Order object is configured to asynchronously publish Platform Events, when new Appointments are created for Job records in Service Board, the following happens:
1. New HTTP Notifications for the Create Appointment event are created and synced to Salesforce.
2. The related Work Order records are updated by the Salesforce Apex trigger or Flow.
3. Current values in these Work Order records are synced back to Service Board.
4. In cases where updates to the related Job records are not yet synced to Salesforce, Technician fields in Salesforce Work Order records are empty.
5. When these Salesforce Work Order records are synced back to Service Board, Resource field values in the related Appointment records are cleared, and these Appointments are then canceled.
To avoid this error, update the Flow that triggered the issue to run immediately when Platform Events for the Update Event event are published.
Was this helpful?