Overview
The Scheduler feature is now available in the Omni Reporting Tool. Essential reports can be scheduled at specified time intervals and sent to email addresses or GCS/AWS buckets according to business or operational requirements.
Supported Destinations
Email Addresses
GCS Buckets
AWS Buckets
Schedulers can only be configured by the users with app.admin privilege
Schedules Page
All the schedules of the org and it’s success/failure runs can be viewed here.
At what time the next schedule will run is also shown under
Next Schedule
Status of the schedule whether enabled or disabled can be toggled here (and inside the schedule edit panel as well).
Once a schedule is deleted, it will no longer visible in UI.
Disabled schedules (by toggling off) will still be part of the screen. Can be re-enabled anytime just by toggling it on.
Similar to the reporting
Request Status
, schedules' status can also be viewed. Click on button on the top left of the schedules page to view the status of the schedule runs.
What is a Pipeline?
Pipeline is a configuration framework in Omni Reporting Tool that holds the credentials and necessary details to connect with the GCS or AWS buckets.
Setting up a Pipeline
Navigate to
Pipelines
panel and click onAdd Pipeline
Button
Provide the necessary details to setup GCS or AWS connections
Field Details:
Pipeline Name
- a name given to the connection to identify this uniquelyPipeline Type
- Allowed types are GCS and AWS as of nowBucket Name
- the bucket name to which the pipeline needs to be connected withBucket URL
- URL of the bucketCredentials
- GCS credentials as a JSON file to connect to GCSRegion
- Region of the AWS BucketAccess Key
- Access Key of Amazon AWS S3 BucketSecret Key
- Secret Key of the Amazon AWS S3 Bucket
Client
Test Connection
button to test the connection.
Pipeline Cannot be saved without test connection being successful
Testing connection will create a sample file in the location specified in the configuration. Successful creation of page implies successful test connection.
Click on
Save Changes
to save the configured pipeline.
How to Schedule?
Navigate to
Schedules
panel and click onAdd Schedule
Button
Choose the report to be scheduled from the
Select Report
dropdown
Provide necessary details of the the filters and schedule time
Schedule Time
Choosing Weekly will allow to select any particular week or Every-Day as the options from the drop-down.
Choosing Monthly will allow to select any particular day of a month or Every-Day or Last-Day as the options in drop-down.
Relative DateTime Filters
Unlike in the usual report explorer, the scheduler panel will have relative date-time filters.
Available Options:
Now
Today
Yesterday
1 Week
15 Days
1st of Current Month
1st of Last Month
“From” datetime type filter will consider from 00 minutes 00 seconds
“To” datetime type filter will consider till 59 minutes 59 seconds
Usage examples:
Case 1: Need the previous day’s data (Considering schedule is at 00:00:00 everyday)
From: Yesterday
To: Yesterday
Case 2: Need today’s data (Considering schedule is every 6 hours every day)
From: Today
To: Now
Case 3: Need the previous day’s data (Considering schedule is at 06:00:00 everyday)
From: Yesterday
To: Yesterday
Email as Recipient’s destination
Choose Email if the report needs to be scheduled to email. Provide e-mail addresses one after one.
Click adjacent to the Input bar after every email address to add it as the recipient list.
AWS or GCS as the Recipient’s destination
Choose the pipeline to which the report needs to be sent. Refer the above section on how to set up a pipeline.
Provide a
Folder Name
to which the files need to send. Failing to provide the folder name will result in writing all the files in the root folder of the bucket that is configured in the pipeline.Same as multiple mail addresses, multiple pipelines can be attached to a single schedule. Click on button to add.
The file generated as a part of schedule will be posted in all the mapped pipelines in the respective mentioned folders.
Handling Schedule Failures
In case of email schedules, all the reports generated should be less than or equal to 50 MB in size. The file sizes are handled as below:
For reports with less than equal to 15 MB in size, the report is attached directly as an attachment.
For reports with file size greater than 15 MB and less than equal to 50 MB, file will be compressed and attached as a .zip in the attachment.
For reports with file size exceeding 50 MB, the report will not be sent as an email. Schedule will fail.
To handle this in email type schedules, please go back to the schedule panel and choose the filters in more granular level.
In case of pipeline schedules, the connection might not be successful to the configured bucket. Please check if the bucket configured in the pipeline is no longer accessible or deleted.