Scheduler
Last updated
Last updated
The Scheduler in the 200 OK app automates and manages integration tasks by running them at set times repeatedly. It ensures that integration channels work consistently, enabling smooth data synchronization and processing across different systems.
Why do we need Scheduler ?
It is essential to execute the Integration Channel within the app seamlessly and precisely at the scheduled time.
Let’s dive into an example: Assume you have an integration channel in the 200 OK app that synchronizes customer data between Salesforce and an external CRM system. To ensure timely data exchange, you need the synchronization to run automatically every night at midnight. To achieve this, we can schedule the integration to execute at the required time, ensuring seamless and consistent data synchronization.
How to Set Up the Scheduler: Simple Steps for Seamless Automation
Login to the Salesforce Org using credentials.
Search for 200 OK app from the app launcher and click on it.
Click on the NEW button.
On click the New button it will pop up as below. Select Integration Channel and click on the Create Integration Channel.
Provide the Channel Label and Endpoint URL details , Params, Header and Body. Select the type of Method which is required.
Method of the Rest service.
A. GET
B. POST
C. PUT
D. PATCH
E. DELETE
After providing the required data, save the channel.
Note: Schedule button will be visible after the channel is saved.
After saving the channel we can see the schedule button at the right top as shown in the below image.
Click on the Schedule button it will be shown as below. Pass the Cron expression in order to schedule the Integration Channel.
After passing the cron expression click on the Schedule button.
The Channel is now scheduled .
Example of Cron Expression : 0 0 * * *
This breaks down as:
0
minute (0th minute)
0
hour (midnight)
*
every day of the month
*
every month
*
every day of the week
This expression will trigger the task at 12:00 AM every day.
In conclusion, this is about the Scheduler in the 200 OK app, which automates tasks to ensure smooth and timely data sync with ease.