Customer 360 for Salesforce
- Customer 360 for Salesforce Spring 2022
- All Products
API_SettingsManager.updateInternalSetting('Custom Filter:<Job name>', '<Filter 1>' [<Operator> '<Filter 2>]');
Parameter
| Description
|
---|---|
Job name
| Name of the batch job.
You can set one of the following values based on the batch job for which you want to configure the custom filters:
|
Filter 1
| Filter criteria to identify the records that you want the batch job to process.
For example,
DS_Last_Updated__c > 2014-12-314T05:42:14+0000
|
Filter 2
| Optional. Additional filter criteria to identify the records that you want the batch job to process.
For example,
DS_company__c='INFA' .
|
Operator
| Required if you use more than one filter criteria. Logical operators
AND .
For example,
(DS_Last_Updated__c > 2014-12-314T05:42:14+0000 AND DS_company__c='INFA') .
|
API_SettingsManager.updateInternalSetting('Custom Filter:Matching','DS_company__c='INFA' AND 'DS_Record_Type_Name__c='Sales');
API_SettingsManager.updateInternalSetting('Current Set Number','10');
Batch Job Name
| Priority
|
---|---|
Matching
| 1
|
Duplicate Contact Check
| 2
|
Duplicate Check
| 3
|
Consolidation
| 4
|
Conversion
| 5
|
API_SettingsManager.enableDefaultJobPriorityForRunAutomatic(true);
API_SettingsManager.enableQueueMonitorAutomaticRefresh(false);
API_SettingsManager.updateInternalSetting('Log Batch Statistics','true');
API_SettingsManager.updateInternalSetting('Synchronous Run Automatic',0);
API_SettingsManager.updateInternalSetting('Reschedule Failed Jobs','true');