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.

Sys auto flush not deleting related Tasks

SC17
Tera Contributor

Hi.

I created a rule in the sys_auto_flush for HR Cases, but its not deleting related HR Tasks of those cases. Cascade delete does not work. 

I also tried to create a rule for HR Tasks (if closed and parent is empty), but this does not work as well.

Any ideas?

Thank you.

1 ACCEPTED SOLUTION

Chandu Telu
Tera Guru

Hi SC,

May i know the challenge to add the "HR Tasks" table to "sys_auto_flush"  table

 

Thanks
Chandu Telu
Please Mark Correct/helpful, if applicable,

View solution in original post

2 REPLIES 2

Chandu Telu
Tera Guru

Hi SC,

May i know the challenge to add the "HR Tasks" table to "sys_auto_flush"  table

 

Thanks
Chandu Telu
Please Mark Correct/helpful, if applicable,

SC17
Tera Contributor

Sorry for the late reply, I did that later on, I thought there was a possibility for deleting related tasks by just deleting the cases.