How to use getAgentDetailsForNode
How does one use the AgentUtils.getAgentDetailsForNode(java.lang.String aRuleSetName, java.lang.String qName, java.lang.String nodeName) API? No matter what I try for nodeName, I don't get any results. What is nodeName supposed to be?
getAgentDetails, for the current node only, works fine.
After cross checking the references of AgentUtils.getAgentDetailsForNode method in later Pega versions noticed in the code that we are passing System.Status.Nodes.pySysNodeID property value to nodeName parameter to the method. Also noticed that we are converting the agent ruleset name, agent name and node id to lower case, so you can try that.
Hope this might help you.
Keep up to date on this post and subscribe to comments