- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2018 03:36 AM
I have two variables on my catalog item, Select Location and
Select User pointing to location and user tables respectively.
Based on location field, user must populate.
Variable - Select Location
Variable - Select User
I have given Reference qualifier and variable attributes, but it is still not working. Nothing is getting populated in user variable. Suggest what I am doing wrong over here.
Solved! Go to Solution.
- Labels:
-
Best Practices
-
Scripting and Coding
- 19,977 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2018 10:31 AM
Lookup select box should also do in this case
You can also try with this ref : javascript:'location.name='+current.variables.located_at
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2018 04:52 AM
change the location field look up to reference field ..it is working.. but not with look up field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2018 05:06 AM
yes it is working if location is of Reference type. Any idea why it is not working if location is of type 'Lookup Select Box' ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2018 10:31 AM
Lookup select box should also do in this case
You can also try with this ref : javascript:'location.name='+current.variables.located_at
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2018 10:57 PM
thanks a lot buddy 🙂 it works 🙂 ....it may help in future 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2018 05:07 AM
The lookup selectbox reference qualifier works only on load. It does not work on change of a field value. Use reference field instead of this.
FYI :
https://community.servicenow.com/community?id=community_question&sys_id=7d93c765dbd8dbc01dcaf3231f961994