How can I define a group within my alert?

karinamel
Kilo Guru

I'm trying to make the assignment of groups upon arrival of alerts to be automatic, how can I do that?

karinamel_0-1693596720815.png

 

1 ACCEPTED SOLUTION

That wasn't exactly what I was looking for, I just wanted to understand how to get the Sys.ids of existing groups, but thanks anyway

View solution in original post

2 REPLIES 2

Samaksh Wani
Giga Sage
Giga Sage

Hello @karinamel 

 

You need to use onChange Client Script :-

 

 

function onChange(control, oldValue, newValue, isLoading, isTemplate) {
if (isLoading || newValue === '') {
return;
}

var group = g_form.getDisplayValue('assignment_group');
alert(group);

}

 

 

Plz Mark my Solution as Accept and Give me thumbs up, if you find it helpful.

 

Regards,

Samaksh

That wasn't exactly what I was looking for, I just wanted to understand how to get the Sys.ids of existing groups, but thanks anyway