multi row variable set - variable reference qualifier
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2024 04:49 AM
Hey,
I have a reference variable on alm_asset table on multi row variable set, I want the reference qualifier to be based on the requested for that I have on the task form.
for example :
the requested for on the task form is from stockroom A.
I want to show al the alm_assets that are on stockroom A in the variable on the multi row variable set.
I'm having difficulty reaching the requested from on the variable form
how can I send to the script include the requested for from the task itself ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2024 04:52 AM
the argument "requested_for" in the qualifier needs to be replaced with current.variables.requested_for
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2024 05:04 AM
Hello @eyal abu hamad
Try this reference qualifier:
javascript:new HardwareUtils().GetFromStockAssetBundle(current.variables.requested_for);
"If you found my answer helpful, please like and mark it as an "accepted solution". It helps others find the solution more easily and supports the community!"
Thank You
Juhi Poddar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2024 05:37 AM
the value that pass is null
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2025 06:31 AM
requested for on sc_task probably comes from RITM.Requested For
is there a field on sc_task which agent will fill and the MRVS should filter the assets for that user
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader