PA Breakdown Script

vineetk_195
Tera Contributor

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

22 REPLIES 22

Oh okay. I've just never seen it that way. I explicitly return the value in all of mine with "return sysID;".


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


Good question, I'm not sure I haven't had too. I'll be interested in the answer though.


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


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?