cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use Getter for the Return Value as shown below

rohit_upadhyay
Newcomer

Hi All,

Please find below the return value of a method that returns an object

Return value of method:{IDResponse=com.xxx.yyy.zzz.CreateReply@5692f8ff}.

How to use a getter method in this case.


4 REPLIES 4

Babar_Qayyum
Leader

Hello Rohit,

Create a custom sensor for that method and mention the getter in the accessor e.g. as below screenshot.

Make sure that custom sensor placed and active in the sensors placement.

Also you will have to restart the application to take effect. In case of Sun/Oracle you can do the 'Hot Sensor Placement'.

Regards,

Babar

rohit_upadhyay
Newcomer

Hi Babar,

Thanks for the prompt reply.

We have already tried the above Suggestion, but in that case we were getting "Accesor Failed".

Is it because of the text that comes before the Object ? If so kindly suggest alternate solution for the same.

rohit_upadhyay
Newcomer

Hi @Babar Q.,

Any Update on this....

Regards,

Rohit U

Hello Rohit,

Check the below post in case it helps.

https://answers.dynatrace.com/spaces/148/uem-open-q-a_2/questions/173725/deep-object-accessor-methods-sensors.html

Regards,

Babar