April 14, 20223 yr Newbies I'm trying to create a log on the server where users can view a list of all syncs. I want to log the start and end of each sync, and if the sync was successful or not. This works wonderfully if the sync is successful, because I can log the start of the sync in the "PreSync" area for custom scripting, and log the end of the sync in the "PostSync" area for custom scripting. However, the PostSync scripting only runs if the sync is successful. Is there some part of the hub sync customization script that runs if the sync fails?
April 22, 20223 yr Hi Erin, If you created a wrapper script that called the MirrorSync script, you could do whatever actions you wanted to do on the spoke if the sync failed. For hub actions, you might could use an insert URL call to the Data API to insert a record into the hub database. Otherwise, I have created a feature request for the Did Sync section of the customization script to run if the sync fails.
Create an account or sign in to comment