Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Hub scripting if sync fails

Featured Replies

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

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

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.