"OnSyncComplete" Event from Common/Layout does not trigger after sync completes
Application Type
Service Studio Version
11.53.10 (Build 61105)

I've been trying to use the OnSyncComplete event from the Common/Layout webblock, to check when the synchronization ends, however the action I added as it's handler is never triggered when the synchronization ends.

The way I have it set up is as follows:

The way I trigger the synchronization is with the button named "Button" (which simply calls for the TriggerOfflineDataSync action):

I was expecting that after the sync procedure ends, the OnSyncComplete event would trigger and the "LayoutOnSyncComplete" action would run, and the message would show on the screen. However, this never happens.

Am I using the block event handler wrong in any way?

Best regards!

Hi Tiago,

I don't know the answer, but I would try to add also a handler for the other 2 events and see what happens.

This just to be sure your sync is not failing, as the OnSyncComplete only happens for a successful completion.


Hi Dorine,

Thanks for the reply!

I added an handler for the other events, and it did work!

Best regards!

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.