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

Unable to create Destroy rule

spike
Mega Sage

I've created an archive rule for a customer table and that appears to be working fine. I've now tried to create a Destroy rule but the table is listed three times! Has anyone had this issue before? How do I know which table to pick?

spike_0-1717570956453.png

 

Thanks for any guidence.

1 ACCEPTED SOLUTION

Kieran Anson
Kilo Patron

Same user? email log - Why is the copied field always empty? - ServiceNow Community

Although duplicated, they should point to the same table name. You can validate this by running the following in background script to see what is populating this dropdown field 

gs.info(new ArchiveTableList().process())

View solution in original post

2 REPLIES 2

Kieran Anson
Kilo Patron

Same user? email log - Why is the copied field always empty? - ServiceNow Community

Although duplicated, they should point to the same table name. You can validate this by running the following in background script to see what is populating this dropdown field 

gs.info(new ArchiveTableList().process())

Ha! I hadn't found that post! And no I'm not the same user. It does appear to be the same problem though, and I do have the email table repeated as you can see from the screen shot!

You code snippet has though shown that it is the same table each time, for my table and the email log.

Looking at the the script include I can see why as well. It reads this data from sys_dictionary:

spike_0-1717577786144.png

Now the question becomes, why the three entries. And if I enable this on prod, will the same thing happen? But that's for another day. Thanks for your help.