Sandeep Rajput
Tera Patron

@Supriya KM Please create a business rule as follows on sn_hr_core_case table.

 

Screenshot 2024-07-09 at 1.07.31 PM.png

Here I am assuming that location field on the user record has country field filled as Germany.

Screenshot 2024-07-09 at 1.08.24 PM.png

 

Here is the script

 

(function executeRule(current, previous /*null when async*/ ) {

    // Add your code here
    var watchlist = current.watch_list = '';
    if (watchlist) {
        current.watch_list = watchlist + ',' + current.opened_for;
    } else {
        current.watch_list = current.opened_for + '';
    }

})(current, previous);

 

Please mark the response helpful and correct if it manages to address your issue.