Update Error
Update Errors are errors encountered when a record updated in the mobile app fails to synchronize with online. Update of records in online can fail for a variety of reasons such as Salesforce Validation Rule failure, Apex trigger failure, Data Model constraint violations (missing mandatory field, invalid value, missing field), Storage limit exceeded error, and so on.
For example, if there is a Salesforce validation rule on Work Order object that expects the Work Performed field to be not blank when the work order status is set to Closed, a work order record in the mobile app updated such that its status equals Closed and Work Performed field equals blank is synced, the data sync will fail. This is because the validation rule will fail on the server causing the update to fail. The following sync conflict error will be shown in the mobile app.
In order to resolve this conflict, choose one of the following resolutions options:
Retry - Choose this if you want to address error this through one of the following steps:
By editing the record by clicking the View record displayed in the Sync Conflict screen (for instance, when the error is because of a Salesforce validation rule similar to the example described above)
By making any changes in online (for instance, when you deactivate a Salesforce validation rule)
By doing configuration sync (for instance, if a custom field available in mobile app is no longer there in online)
Lose my changes and use server version - Choose this if you have to discard your local changes and restore the record from online
Decide Later - Choose this if you want to address this sync error at a later point and allow other sync activities to continue. This option is selected by default and is a temporary solution only
Was this helpful?