Newbies Erin Posted April 14, 2022 Newbies Posted April 14, 2022 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?
ryan360Works Posted April 22, 2022 Posted April 22, 2022 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.
Recommended Posts
This topic is 956 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 accountSign in
Already have an account? Sign in here.
Sign In Now