/
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
After Sync Trigger
After Sync Trigger
More like this
Data Sync Settings
Data Sync Settings
More like this
How do I Push Changes When Regular Sync Fails
How do I Push Changes When Regular Sync Fails
More like this
What Are the Different Types of Sync?
What Are the Different Types of Sync?
More like this
Data Sync API
Data Sync API
More like this
Why are so Many Records Processed During Sync
Why are so Many Records Processed During Sync
More like this