I have a requirement to cancel all the active LE cases to be cancelled when the user location change

Siva55
Tera Contributor

I have a requirement to cancel all the active LE cases to be cancelled when the user location changes. 

I have written a BR on user table when the location.country changes we need to cancel the active LE cases and need to create a new LE case for subject person changed location .But the BR is not running as country  is a dot walking filed.

Any suggestions on this case would be helpful.thanks

1 REPLY 1

David Aldridge
Giga Guru

Hi @Siva55 

A couple of solutions come to mind. You could use client-side scripting to compare the old and new values of location.country or you could use the "country" field (Label "Country code") on the sys_user table as the trigger.

 

You may need to set up another business rule to update the "country" field when the location is changed (to same as location.country), then trigger your original business rule on the change of the country field.

 

I haven't tried this, but hope this helps.

 

David.