Client script is not able to receive the response from script include

kaushiki berter
Tera Expert

Hi, I have a requirement in incident form where I have to stop user from adding those groups in assignment group field when there is no member present in that group.  So, if group is not having members, then the value should get cleared from incident form's assignment group field. I have made following on change client script for this.

kaushikiberter_0-1707815453473.png

kaushikiberter_1-1707815545850.png

After this I have created the following client callable script include

kaushikiberter_2-1707815628459.png

Ideally when group should be found in group member table then as per the requirement user should be able to retain the group value in assignment group field. Somehow the client script is not able to receive response from script include due to which in all the cases the client script is executing false part and clearing the value. It would be really helpful for me if I get any solution for this. Thank you!

 

6 REPLIES 6

kaushiki berter
Tera Expert

Thank you all for your responses. My script is working fine without any modifications. Still figuring out the reason of prior failure but now it is executing accurate results.

It might be due to caching issues.