Jump to content
Server Maintenance This Week. ×

Hub scripting if sync fails


This topic is 734 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • 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? 

Link to comment
Share on other sites

  • 2 weeks later...

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. 

Link to comment
Share on other sites

This topic is 734 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.