Ivo Rodrigues Posted February 13, 2020 Share Posted February 13, 2020 Hello guys, I need to identify in one or more domains, processes starters in tibco bw that are disabled. I am thinking using Hawk API to accomplish this with JAVA. Can you guys give some guidance the best aproach to this Thanks Link to comment Share on other sites More sharing options...
Chenghao Chen Posted February 13, 2020 Share Posted February 13, 2020 Hello there, Could you let me know your bw and hawk versionThanks Chenghao Link to comment Share on other sites More sharing options...
Ivo Rodrigues Posted February 13, 2020 Author Share Posted February 13, 2020 Hello, BW is version 5.13 and Hawk is 5.2. Link to comment Share on other sites More sharing options...
Chenghao Chen Posted February 13, 2020 Share Posted February 13, 2020 Hello there, BW method GetProcessStarters returns process starters status. If it doesn't work,you may check any other methods can meet your requirement, then youcan use hawk console api to invoke that BWmethod. Other than that, Hawk doesn't have any api can reach your goal. BW methods: https://docs.tibco.com/pub/activematrix_businessworks/5.13.1/doc/pdf/TIB_BW_5.13_administration.pdfid=1 Appendix A TIBCO Hawk MicroAgent Methods | Page 157 Hawk Console API example: /examples/console_api/ConsoleApp.java Hope it helps. Thanks Chenghao Link to comment Share on other sites More sharing options...
Ivo Rodrigues Posted February 18, 2020 Author Share Posted February 18, 2020 Hello, I am following what you said and i found a problem when i try to retrieve all microagents. When i use maids = agentMgr.getMicroAgentIDs("COM.TIBCO.ADAPTER.bwengine", 1) doesn't find any agent, but if i put the full name of one of my agents, he find it. There is any way to do it Thanks. Link to comment Share on other sites More sharing options...
Chenghao Chen Posted February 18, 2020 Share Posted February 18, 2020 Hello there,You may try method: self:getMicroAgentInfo(). Empty returns information for all microagents.Then filter bw microagents from all returned microagents.Thanks Chenghao Link to comment Share on other sites More sharing options...
Recommended Posts