Set value in List view from Client script

snowuser111
Kilo Guru

Hi,

How do I set value based on certain field selected in List view from Client script.

If 'state' is changed to 'Cancel' , the 'Assignment group' should change to certain value. (All from List view)

Thanks

11 REPLIES 11

Community Alums
Not applicable

You can even go for a business rule works both side


Hi Kirti,



Can you help how to do this I am trying but it does not works. Created BR also but untill and unless ai am refreshing it manually it does not reflects.


What code has to be put in order to refresh the list.



Thanks


Community Alums
Not applicable

I have never tried refreshing the list.But i am aware of few GlideList functions that might assist you to try this.



refreshWithOrderBy and setFilterAndRefresh.



Refer the below link ..


http://www.servicenowguru.com/scripting/client-scripts-scripting/reload-form-related-list-client-scr...


this link i tried but its for related list, I was looking for list view. Also it did not worked.


Any other suggestion please.



Thanks


Community Alums
Not applicable

hi,



Give me your script i will modify the same and try in my instance.We might find a possible way


Regards,


Kirti