Adding Generic ID in Watch List based on Veriable selection

surajsukuma
Tera Contributor

Based on the Business Unit selection, I am looking for the option to add a Generic Email id to the watch list. Can anyone suggest best practices on the same? 

surajsukuma_0-1721036046313.png

Thanks In advance 

 

1 ACCEPTED SOLUTION

Hi @surajsukuma ,

You can create OnChange catalog client script and select the field as Business Unit. 

Write script like below.

if(newValue!='')
{
g_form.setValue('watch_list_variable_name','test@abc.com');
}

 

Please mark my answer as correct and helpful if it helps to resolve your issue.

Regards,

Namrata

View solution in original post

6 REPLIES 6

Hi @surajsukuma ,

You can create OnChange catalog client script and select the field as Business Unit. 

Write script like below.

if(newValue!='')
{
g_form.setValue('watch_list_variable_name','test@abc.com');
}

 

Please mark my answer as correct and helpful if it helps to resolve your issue.

Regards,

Namrata

That's one of the possible ways to deal with it. Whether it is appropriate or not depends on specific details of the use case, which unfortunately haven't been provided by the author of the question. Trying to solve a problem that has not been clearly defined can lead to unexpected results.