Schedule Pipeline Batches in Sitecore 9 Dynamic CRM Connector (Part 5)
Part 4 : Sitecore 9 Dynamic CRM Connector: Custom pipeline to filter contacts
Scheduler is a simple way to execute some task with intervals. To schedule a Dynamic CRM Connector task, Sitecore provides you out of box functionality.
Scheduler is a simple way to execute some task with intervals. To schedule a Dynamic CRM Connector task, Sitecore provides you out of box functionality.
There are two steps which need to follow:
Step 1: Create Command
- Navigate to this location “/sitecore/system/Tasks/Commands/Data Exchange” and create an item
- There will be a two type of command “Run All Pipeline Batches Command” and “Run Selected Pipeline Batches Command”
- Create command according to your requirement
- Navigate to “Pipeline Batched” field for “Run Selected Pipeline Batches Command” and “Pipeline Batches Root” for “Run All Pipeline Batches Command” and select relevant pipeline
Step 2: Create Schedule
- Create new “Schedule”
- Select “Command” which you have created above
- Configure “Schedule” in this format {start timestamp}|{end timestamp}|{days to run bit pattern}|{interval}
- Now it will run scheduler on a specific interval which you have mentioned
Comments