Automation Schedulers
Schedulers repeatedly run the associated job at a specified interval of time.
Contact center administrator Akela Wolfe wants to remove contact data after a certain number of days in order to be compliant with data protection policies, such as GDPR.
To accomplish this automated process, Akela creates a scheduler. Set sets the Interval to execute daily at midnight and applies the following condition:
- End user last modified time—allows her to specify if she wants to target contacts that are newer or older than a specified time. Akela sets the condition to target contacts older than 90 days.
Then, she creates a delete end user's name in all identities job and assigns it to the scheduler.
With this configuration, all contacts that are older than 90 days will have their data deleted from CXone. This job will run every day at midnight because Akela used a scheduler.
Create a Scheduler
- Click the app selector and select ACD.
- Go to Digital > Automation Schedulers.
- Click Add scheduler.
- Enter a Name for the scheduler.
- Enter the Interval to execute. This field must be populated using Crontab format. For examples of how to write your desired interval in this format, visit https://crontab.guru/examples.html.
- Use the Data set drop-down to select if the Scheduler will affect Cases, Messages, or the End User.
- If you have folders that organize your schedulers, you can select which folder to put this scheduler in from the Folder drop-down.
- Click Save.
- From the detail page, click Activate when your scheduler is completely configured.
Add a Condition
If you entered a value in the Delayed execution field when you created a trigger, make sure your condition configurations do not exceed that time. For example, if you set the Delayed execution time to 86400 seconds, or 24 hours, you cannot add a Contact status update time condition with a time period greater than 1 day.
- From the detail page, click Add Condition.
- Use the drop-down to select the condition you want. Refer to the table below for a list of conditions available for what you just created.
- Click Select.
- Some conditions require additional configuration. Refer to the table below for instructions.
Available Conditions
Condition Type | Details and Instructions |
---|---|
Custom condition |
Execute jobs based on the response from the specified URL endpoint. The response from the endpoint should return boolean (true or false). This condition works for contact center triggers, proactive triggers, and schedulers.
|
Custom script |
Execute jobs based on the script you write in Primi language. This condition works for contact center triggers, proactive triggers, and schedulers. |
Date and time |
Executes jobs during or outside of specified time frames.
Jobs can process up to 500 contacts at a time. If you need to process more, have the job run more than once per day at different times. |
End user last modified time |
Execute jobs if it has been a defined timeframe since the end user last modified the case.
|
Probability of Execution |
Executes jobs based on a probability percentage. This condition works for contact center triggers, proactive triggers, and schedulers.
|
Add a Job
-
From the detail page, click either Add new job or Add existing job, depending on if the job you want already exists.
- If you clicked Add new job, follow the steps to create the job you want. These steps can be found on the individual help page for that job, located in the menu on the left of this page.
- If you clicked Add existing job:
- Use the drop-down to select the job you want.
- Click Add.