/
Before Sync Trigger
Before Sync Trigger
Pulsar 15.0+ supports running custom Pulsar Settings Language before the start of a sync. This can be useful for recording the start of sync time, counting records, or alerting the user to information before the sync starts. NOTE: This trigger is tied to sync, and any data changes during this setting execution will be pushed to the Salesforce server, even if the user is forced offline permanently via settings.
Here is a trivial example that displays the some local sync counts before the sync starts:
Name: Before Sync Trigger
Key: pulsar.sync.beforeSyncTrigger
Value: Pulsar Settings Language
DEFAULT{
Action=SetVar;
VarName=LastCreatedCount;
VarValue=@@LocalCreatedCount;
|
Action=SetVar;
VarName=LocalDeletedCount;
VarValue=@@LocalDeletedCount;
|
Action=SetVar;
VarName=LocalUpdatedCount;
VarValue=@@LocalUpdatedCount;
|
Action=SetVar;
VarName=LocalUpdatedUniqueCount;
VarValue=@@LocalUpdatedUniqueCount;
|
Action=Alert;
Message=Pre sync stats: Created=%%LocalCreatedCount%% Deleted=%%LocalDeletedCount%% Updated=%%LocalUpdatedCount%% UpdatedUnique=%%LocalUpdatedUniqueCount%% ;
} |
, multiple selections available,
Related content
Pulsar SFS UI Customizations
Pulsar SFS UI Customizations
Read with this
After Sync Trigger
After Sync Trigger
More like this
How long did the sync process take to complete?
How long did the sync process take to complete?
More like this
How Often Does Sync Run?
How Often Does Sync Run?
More like this
Data Sync API
Data Sync API
More like this
Data Sync Settings
Data Sync Settings
More like this