- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2024 10:51 AM
I have order guide with two variable sets
Variable set 1 has requested for variable(Reference -sys_user)
variable set2 has select your hardware(Reference -alm_hardaware)
I am using reference qualifier to shows assigned to requested and retirement date of asset is before today's date.
But select hardware shows all the assets. If i take of retirement date from reference qualifier it shows assets assigned to user. My reference Qualifier
javascript:'assigned_to='+current.variables.requested_for +^retirement_date<javascript:gs.beginningOfToday()^EQ
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2024 03:17 PM
Hi Pradeep,
You can call a Script Include from the reference qualifier like
javascript:new CustomScriptInc().getRetiredAsset(current.variables.requested_for);
In the Script Include you will write some piece of code like
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2024 03:17 PM
Hi Pradeep,
You can call a Script Include from the reference qualifier like
javascript:new CustomScriptInc().getRetiredAsset(current.variables.requested_for);
In the Script Include you will write some piece of code like
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2024 05:22 AM
I used similar kind of thing and it worked, kudos to you