Sometimes may occur errors when sending events to the server and it could be useful to mark as pending those events in order to try sending them again later.
SynchronizationEvents.MarkEventAsPending(&EventGUID)
Where:
&EventGUID
Is the GUID of an event that is in the GXPendingEvents table.
As explained in the SynchronizationEvents external object document, the GXPendingEvents table will be used to store all the changes made in the device in order to send them later to the server. With this method it is possible to set the events status to Pending.
Event 'Change To Pending'
Composite
&EventGUID = &GxSynchroEventsSDT.CurrentItem.EventId
SynchronizationEvents.MarkEventAsPending(&EventGUID)
EndComposite
EndEvent
Where &GxSynchroEventsSDT is the result of the GetEvents method .
As from GeneXus Tilo Beta 2