Clean Items (Before a Certain Date)
Removes all the keys from the department box before a certain date.
Overview
This procedure removes all the keys from a department box (a storage unit within an agent) before a certain date. The date can be specified as a relative or absolute value.
Syntax
Below is a line-by-line overview of the automation syntax. Expand each line to learn more.
Examples
1. Clean Before Relative Date
A relative date is based on the current time. The following removes all items from the department box that are older than 3 hours:
HR is a department box
the department box's engine is "s3"
clean HR before '3 hours'
2. Clean Before Absolute Date
An absolute date is a fixed point in time. The following removes all items from the department box that were added before October 23, 2020:
HR is a department box
the department box's engine is "s3"
clean HR before '23rd Oct 2020'
Last updated
Was this helpful?