- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2020 11:47 PM
Hi please help me with the following:
I have 2 lookup select box variable both has lookup from table as sys_user. One for lookup value field Email and another for lookup value field Employee number. I want to set the value of Employee number variable based on the email chosen.
Solved! Go to Solution.
- Labels:
-
Service Portal Development

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2020 12:59 AM
Hi Vivek,
Yes, Tested the same & it seems getReference would not work as its look-up reference field.
I suggest you to
1. Mark the script -False
2. Only use reference qualifier as below.
javascript: 'email='+current.variables.email;
Tested the same & it works.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2020 12:59 AM
Hi Vivek,
Yes, Tested the same & it seems getReference would not work as its look-up reference field.
I suggest you to
1. Mark the script -False
2. Only use reference qualifier as below.
javascript: 'email='+current.variables.email;
Tested the same & it works.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2020 01:16 AM
Great. Thanks a lot, it worked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2020 02:59 AM
Hello Guys,
Check if below link helps you out!
[SOLVED]: - Dependent variable on Catalog item using Lookup Select Box
If my answer resolves your issue, please mark my answer as ✅ Correct & 👍Helpful based on the validations.
Thank You!
Regards,
Kailash