You can set up schedules to use specific time and date timestamps to schedule and run specific tasks.
Before you begin
The scheduling of tasks can be done only for inbound. Pull-type connections where you send data to the B2Bi SaaS application.
About this task
After you click the Add schedule page, the Schedule details modal appears. You can follow the same process for creating a schedule that you otherwise do while creating connections.
Procedure
On the Schedule details modal, input the following parameters.
-
If you are aware of the CRON expression for your organization, select Manual, perform the following actions. Alternatively, if you select Builder, skip to the next steps.
-
Select a time zone.
- Optional:
Select the Define start date checkbox to input the time and date from which your CRON expression becomes active. Then, input the time and date.
-
Enter your CRON expression.
For ease of use, refer to the helper text.
-
If you select Builder, select the following parameters.
-
Select a time zone.
- Optional:
Select the Define start date checkbox to input the time and date from which your CRON expression becomes active. Then, input the time and date.
-
Select the value in minutes when the CRON expression runs. You can select one or more values between 0 and 59. Alternatively, select the Minutes interval mode checkbox. Then, input the frequency and the starting value for it.
-
Select the value in hours on which the CRON expression runs. You can select one or more values between 0 and 23. Alternatively, select the Hours interval mode checkbox. Then, input the frequency and the starting value for it.
- Optional:
Select specific days on which the CRON expression runs. Alternatively, select the Every day of week checkbox.
-
Select specific months on which the CRON expression runs. Alternatively, select the Every month checkbox.
- Optional:
If you have not selected any value for the Every day of week checkbox or selected any day (or days) of the week, you can select specific days of the month. You can select either Last Day of Month or Every Day. Alternatively, you can select the Customize dates checkbook and select the dates on which you want to schedule the task. You can select one or more values between 1 and 31.
Note the CRON pattern and summary for confirming your schedule. You can make changes to your schedule.
-
Click Save.
Your schedule is ready to be deployed.
- Optional:
To enable pagination of the API endpoint response, select the Enable pagination checkbox.
This populates the
Pagination type dropdown. Additionally, selecting the only supported value,
Cursor based, from the dropdown, the following details are displayed.
- Cursor path: Use this field to input the JSON response where the next page token is located. This is a mandatory field.
- Cursor parameter name: Use this field to input the parameter that will be used to request the next page. This is a mandatory field.
- Data path: This is an optional field. Use this field to input the location of data in the JSON response. In the absence of any data, the entire JSON response is considered as data input. The field accepts only JSON path as response.
- Cursor location: Use this field to select where to send the next-page token to. The acceptable values are: Header, Query parameter (default value), and Body.
What to do next
After you have created a schedule, you can refer to the remaining steps to deploy the schedule to first CTE and then production. For more information, see Adding CTE configurations for inbound (pull) connections and Adding production configurations for inbound (pull) connections.