PA Breakdown Script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-15-2017 07:31 AM
Hello All,
I have configured an Indicator on Database view. Need to configure breakdown on an field which is available on base table, so as to acheive same I have written a script to get breakdown mapping between indicator facts table and field from base table.
But the issue which I have come across is, while using the filed from database view in the Breakdown mapping script I get an error " Not all references of "current" are passed in by "arguments" script".
Any suggestions / help would be great!
Thank You
Vineet Kumar
- Labels:
-
Analytics and Reports
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2017 05:26 AM
Oh okay. I've just never seen it that way. I explicitly return the value in all of mine with "return sysID;".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2017 05:39 AM
Thank you John, I have tried by explicit return of sysID but still the data collection job threw " Not all references of" current "are passed in by" arguments "script ".
I am wondering if we can use database view fields in script?
Thank You
Vineet Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2017 05:53 AM
Good question, I'm not sure I haven't had too. I'll be interested in the answer though.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2017 05:58 AM
In think it is possible, because we have configured Indicators on "incident_sla" which is a database view and there is a script configured to calculate the duration between date/time stamp fields, not sure why I am getting this error in my script.
Thank You
Vineet Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2017 06:00 AM
Have you tried logging the value of sysID after it's set in the if statement? If you get the correct value's could you try and return it there?