- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-01-2016 01:14 PM
Hey all,
Really really new to PA, so stay with me!
I am trying to collect all requested items in the last 30 days, and assign them to bucket groups by Requested Item.Name.
I have created
Indicator, automated indicator - pretty straight forward
Breakdown source - bucket group (2 items)
Breakdown - mapping is FACT TABLE:sc_req_item FIELD:sc_req_item.cat_item SCRIPT:RequestedItem.Grouping SCRIPTED:true
How ever, when I attempt to run the collection, I receive the looks like infamous "Error during JavaScript evaluation: Not all references of "current" are passed in by "arguments" script:"
error on my script.
Any help would be greatly appreciated.
Thanks in advance.
Solved! Go to Solution.
- Labels:
-
Dashboard
-
Performance Analytics
- 3,057 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-01-2016 05:11 PM
Hi Wade,
the error indicates that you did not list the fields that you use in your script in the source section of the script. Based on your screenshot you might want to try it like this:
in the list view of the scripts it shows not the label but the column name of the field, like:
From your script I think that you want the 'item' field.
When you set the field, just move the field to the right, no need to expand:
On the breakdown mapping you don't have to set the field, you are using a script instead.
Hope this helps, cheers,
Pieter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-01-2016 05:11 PM
Hi Wade,
the error indicates that you did not list the fields that you use in your script in the source section of the script. Based on your screenshot you might want to try it like this:
in the list view of the scripts it shows not the label but the column name of the field, like:
From your script I think that you want the 'item' field.
When you set the field, just move the field to the right, no need to expand:
On the breakdown mapping you don't have to set the field, you are using a script instead.
Hope this helps, cheers,
Pieter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2017 04:49 AM
Try selecting "Requested Item" rather than "Requested Item.Name" in the "Fields" field.
Blog: https://sys.properties | Telegram: https://t.me/sys_properties | LinkedIn: https://www.linkedin.com/in/slava-savitsky/

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-02-2020 01:34 AM