- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2019 03:14 AM
Hi there,
i need help from someone.
"Error during JavaScript evaluation: Not all references of "current" are passed in by "arguments" script"
The issue is the above error message which comes up during a collection job.
What i need to do is to put records from incident_sla into 4 buckets by a certain text in the SLA Definition Name (i.e. Platin, Gold, Silver, Gold).
1. I created a bucket group with buckets 1-2 Bronze, 2-3 Silver, 3-4 Gold, 4-5 Platin.
2. I created a breakdown source using that bucket
3. Created an automated breakdown using above defined source
- added breakdown mapping for incident_sla with script
- added the breakdown for 1 indicator (Showing all Incident SLAs for incidents resolved on today)
The script looks like this (rather simple script):
As i`m using "SLA Definition.Name" in the script i added it to the list of fields.
If i now run the collection job containing the related indicator i get the error message.
I have tried several things (current.sla.name.toString(), current.taskslatable_name, tried to add SLA Definition to fields etc.) - no luck at all (i even added ALL available fields to the list).
If i don`t enter any fields and leave the script field empty - same error.
Any assistance highly appreciated!! 🙂
Martin
P.S.: I could do this adding a Choice field to the SLA Definition and bypass the need for a script - but i don`t want to add any fields (and actually the scripting approach should work just as good it think)
Solved! Go to Solution.
- Labels:
-
Performance Analytics

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2019 03:38 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2019 03:38 AM
Hi
Have you tried current.taskslatable_sla.name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2019 04:04 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2019 07:25 AM
Thanks and have a nice day as well.

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