Discussion

183
Views
IMURPALVICKY Member since 2013 27 posts
Tata Consultancy Services
Posted: April 25, 2016
Last activity: April 25, 2016
Closed

How to use getAgentDetailsForNode method

Objective :

I am trying to summarize the agents status across different node in my system and send a consolidated email on the status       

Summary :

I am able to easily get the agent details on the node i am working in. I am trying to acheive this across other nodes also. I hope getAgentDetailsForNode method will get me the agent status by giving the node name but it is not returning anything.

java.util.Map TestData5= new java.util.HashMap();
TestData5 = tools.getAgentUtils().getAgentDetailsForNode("RulesetName","Quename","NodeName");

 The above java snippet is not returning anything . NodeName is the one i have question . i took the node name from SMA even then it is not working. I tried node ID also  . getAgentDetails method is working but it fetches only for the current node.

Any info is appreciated 

Data Integration Java and Activities
Moderation Team has archived post
Share this page LinkedIn