how we can set choice if it's not available on the form?

Community Alums
Not applicable

hi all,

 

When an incident is assigned to a different assignment group when the incident state is In Progress or On Hold,  then we need to change the incident state to New.

 

how we can achieve it we written onchange client script to set state to new when assignment group change but it's setting the filed value to '1' after save it's showing to new 

 

Pavithra813_1-1705919427295.png

 

 

can anyone help me on this

 

thanks

 

5 REPLIES 5

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Community Alums 

 

As per Best practice, once an incident assigned to any group, it moved to In progress and we should not bring back to new, it may impact SLA and other OOTB logic. Also in this case you will not able to get the exact SLA timings.

 

Please share the snippet of code, tochekc why it is showing 1.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Community Alums
Not applicable

Hi @Dr Atul G- LNG ,

 

Actually we need impact in our SLA when ever assignment group get change it's should assign new SLA instead of continuing with old SLa for new assignment group

 

what type of OOTB logic can we me one eample

 

below is the code we tried

Pavithra813_0-1705922140603.png

 

Thanks

 

 

Hi @Community Alums 

 

That is wrong way, use OLA and track that. OLA are more helpful in this case.

 

put 1 in Single quotes.  in set value

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Community Alums
Not applicable

Hi @Dr Atul G- LNG 

 

I have tried the solution still is not working

 

Thanks