Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Archive Request record along with connected RITM And Catalog Tasks 2 Years After Closure

Debasis Pati
Tera Guru

Archive Request record along with connected RITM And Catalog Tasks 2 Years After Closure

I want to archive this i know there are archive rules what we can configure i want to understand how my ritm and sc tass also will be archived?
Do i need to create multiple archival rules?
Because sc tasks are related to ritm not directly to sc_request

@Ankur Bawiskar any idea on this?

Regards,
Debasis

2 ACCEPTED SOLUTIONS

Hello @Ankur Bawiskar ,
What i found and think is we can achieve it only with one archive rule in request table and then add 2 archive related records inside the same archive rule for request.
Request in requested item and also request in catalog task these two archive related records.
Correct me if i am wrong but i think this will work.

Regards,
Debasis

View solution in original post

@Debasis Pati 

yes that's what I believe as both the tables sc_req_item and sc_task relate with sc_request via direct fields

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

8 REPLIES 8

Yes what i should give conditions for ritm and sc-task.
My req condition is closed after 2 years i should archive if i put the same conditions on ritm and task there are chances right it will get archived before my request gets archived.

Hello @Ankur Bawiskar ,
What i found and think is we can achieve it only with one archive rule in request table and then add 2 archive related records inside the same archive rule for request.
Request in requested item and also request in catalog task these two archive related records.
Correct me if i am wrong but i think this will work.

Regards,
Debasis

@Debasis Pati 

yes that's what I believe as both the tables sc_req_item and sc_task relate with sc_request via direct fields

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Debasis Pati 

I could see you marked your own response as correct.

Would you mind marking my response as correct if you feel I was able to help you?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader