- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Greetings all,
I have a Variable Set that contains four Variables: One Reference to the User table, and three Single-line text Variables that auto-populate off of the User Reference field. The three single-line text fields grab various contact information (ex. phone, email, etc.). The issue I am having is that if I load the Record Producer directly, the auto-complete functionality works without any issue. However, if I navigate to the same Record Producer by first going through an Order Guide that is mapped/routed to to the Record Producer, the auto-complete functionality does NOT work. The first User Reference field will auto-populate but the three single-line text Variables do NOT auto-populate and remain empty.
Finally, when I'm in the Order Guide-to-Record Producer view and I CHANGE the value of the User Reference field, the three single-line text fields DO finally auto-populate.
Has anybody else experienced this loss of functionality with navigating to a Record Producer through an Order Guide with a Variable Set that has some auto-population?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
I tested it and it seems to be a bug if the user reference field is populated through default value field.
Workaround : Instead of populating the user reference field using default value, use an onLoad client script
g_form.setValue('user_reference_field', g_user.userID);
This way it is working for both Cat Item and order guide.
You can create a HI Case with ServiceNow and use the above workaround until then.
Accept the solution and mark as helpful if it does, to benefit future readers.
Regards,
Sumanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
I tested it and it seems to be a bug if the user reference field is populated through default value field.
Workaround : Instead of populating the user reference field using default value, use an onLoad client script
g_form.setValue('user_reference_field', g_user.userID);
This way it is working for both Cat Item and order guide.
You can create a HI Case with ServiceNow and use the above workaround until then.
Accept the solution and mark as helpful if it does, to benefit future readers.
Regards,
Sumanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Thanks for the workaround @SumanthDosapati. I'll test this out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
I tested it and it seems to be a bug if the user reference field is populated through default value field.
Workaround : Instead of populating the user reference field using default value, use an onLoad client script
g_form.setValue('user_reference_field', g_user.userID);
This way it is working for both Cat Item and order guide.
You can create a HI Case with ServiceNow and use the above workaround until then.
Accept the solution and mark as helpful if it does, to benefit future readers.
Regards,
Sumanth
