Archive related country task if respective country is removed from country list collector

Nisha Kumari2
Tera Contributor

Hello, 

I have two tables in a custom app.

 

1st table is having country field of list collector type referring to core_country table. 2nd table is in related task just like incident and problem are related. Based on the selection of country the 2nd table creates the record.

When country from 1st table is removed from 'country' field then related task which are created on 2nd table gets archived i.e state changed to archive. 

 

Please provide me the solution to achieve this requirement.

 

Thanks in advance.

0 REPLIES 0