AnsweredAssumed Answered

SDK custom filter: reading attribute value in code

Question asked by OscarBetgen on Sep 18, 2017
Latest reply on Sep 18, 2017 by kadne01

Hi All,


I am trying to build a custom filter and I need to select an attribute and read the value it contains.

Everything works fine except fot the last step.

I can get to select the attribute but can't find the proper command to get the value it contains.


To make it a little bit more clear what I am trying to do I isolated the problem in a test class which I attach.

When I select the attribute in the filter it gets the name of the filter but I need to get the value. e.g.

flStartDatetime                       <-- this is read and returned

2017-09-17 10:30:22.123      <-- I need the value the attribute contains


This is the command in the custom filter I use: Object objToString = paramTestExec.getStateValue(this.prop);

But this and everything else I tried does not work and I can not find any documentation on it.

I hope you can help me with the right command or an example that I can copy.


Thanks in advance. Regards Oscar Betgen