No products in the cart.
Performance
High
Catalog Client Scripts
Client Script
Widget Angular Provider
UI Action
UI Script
Rule ID
SN-0383
The usage of g_form.setValue() on a reference field without displayValue causes ServiceNow instance to do a synchronous call to retrieve the display value for the specified record, this extra step can lead to performance issues.
Avoid the usage of g_form.setValue() without the displayValue parameter.
10 min
g_form.setValue(‘location’,’67ub8d1b0aaa07b3007a3d3a6b801f5b’);
g_form.setValue(‘location’,’67ub8d1b0aaa07b3007a3d3a6b801f5b’,’Custom display value’);
Powered by BetterDocs
There was a problem reporting this post.
Please confirm you want to block this member.
You will no longer be able to:
Please allow a few minutes for this process to complete.