how to delete parent and child tasks on one go

service buzz
Tera Contributor

Hello All,

I have a requirement , we are able to delete parent record  but respective tasks  are remaining orphaned.

How can we delete the child tasks along with parent cases.

Is it possible to do automatic deletion ??

or can  restrict the parent case before task getting deleted?that means the hr case can be deleted only when related task is deleted?

please suggest how can we proceed.

Thanks

1 ACCEPTED SOLUTION

Ashutosh Munot1
Kilo Patron
Kilo Patron
5 REPLIES 5

Ashutosh Munot1
Kilo Patron
Kilo Patron

HI,

Yes in servicenow we have cascade deletion (No coding)

https://docs.servicenow.com/bundle/orlando-platform-administration/page/administer/field-administrat...

 

Thanks,
Ashutosh

Hi Ashutosh,

 

Thanks for the reply,

Can you also let me know how can we restrict for only hr application for sn hr core task table.

 

Thanks,

Sushma

Hi Ashutosh,

 

How can we override the reference cascade rule on task table we I have to use only for hr scope application.

 

Thanks,

buzz

Hi,

That field is on task table? If yes then it will be applied to all child and we cant override it.

In that case you need to write a BR do that specific table.

 

Thanks,
Ashutosh