UI action button to populate the assignment group.

Surendra6
Tera Contributor

Hello,

We have a button on RITM table and once we click on it then ABC assignment group will populate automatically in the RITM assignment group. Please provide a code to achieve this functionality.

Thanks!!

4 REPLIES 4

DanielCordick
Mega Patron
Mega Patron

Hey Surendra,

 

check this out

Trouble setting an assignment group through UI action button - Developer Community - Question - Serv...

 

please mark helpful or correct 🙂 

Voona Rohila
Kilo Patron
Kilo Patron

Hi Surendra

In your UI Action use below logic to autopopulate assignment group on click of button.

current.assignment_group = 'groupsysid'; //modify field names accordingly.

current.update();

 


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP

Hi Rohila,

 

I have tried this script but not suceeded. Please help to achieve this.

Thanks!!

Can you share few screenshots on how your ui action is configured.


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP