The CreatorCon Call for Content is officially open! Get started here.

Archive Rule

roomawakar
Tera Contributor

Hi All,

I have a requirement to archive the user records with the below conditions. I am not able to create the archive rule neither on the task table nor on the catalog task table.

 

1 - User Type = Agent or Customer AND  does not have an incident/request associated.

 

2 - User Type = Agent or Customer AND has a closed incident/request but is greater than 2 years old.

 

Thanks,

Rooma

5 REPLIES 5

Then looks like there is no direct option.

You can try below two workarounds:

  1. Call a script include from the condition field. (Not sure if it's possible. not tested)
  2. Use the GlideArchiver API in scheduled job. (Not sure on how the API works. Havent found any documentation but saw it in a couple of scripts)

Regards,

Sumanth