- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2023 06:57 AM - edited 07-02-2023 06:57 AM
Hi,
Requirement is to archive all the incident records which were closed and last updated is 10 years ago
What should I select in my archive rule relative condition?
should it be updated relative before 10 years ago or 10 years from now?? and what is the difference between these two?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2023 07:32 AM
Hi @Demo24,
Yes. It should be relative before 10 years ago.
relative before 10 years ago: It will give all incidents updated before 10 years form current date.
Filter: sys_updated_onRELATIVELT@year@ago@10
relative before 10 years from now: It will give incidents updated before 10 years from the current date.
Filter: sys_updated_onRELATIVELT@year@ahead@10
Thanks,
Sagar Pagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2023 07:32 AM
Hi @Demo24,
Yes. It should be relative before 10 years ago.
relative before 10 years ago: It will give all incidents updated before 10 years form current date.
Filter: sys_updated_onRELATIVELT@year@ago@10
relative before 10 years from now: It will give incidents updated before 10 years from the current date.
Filter: sys_updated_onRELATIVELT@year@ahead@10
Thanks,
Sagar Pagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2023 07:42 AM
Hi,
Thanks @Sagar Pagar
So, from what I understand, if there are records that were last updated 15 years ago and 10 years ago
The ago filter checks for all these and archives all these
And from now only checks for those 10 years and leaves 15 years ago ones behind
Is this correct?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2023 07:48 AM