1. Download and compile the jave code(ShowMicroAgentName.java in attachment)
2. Run it with appNode, appSpace and domain name to get the appNode-microagent-name with hashcode
Input is the following 3 arguments in order:
AppNode name, AppSpace name, Domain namee.g.
$java ShowMicroAgentName "HawkAppNode1" "HawkAppSpace1" "HawkTestDomain"$MicroAgentName = BusinessWorks6AppNode-37776035 when appNode=[HawkAppNode1], appSpace=[HawkAppSpace1] and domain=[HawkTestDomain]3. Open *.hrb file in text mode, replace
BusinessWorks6AppNode-12345(old) to
BusinessWorks6AppNode-67890(new).Note:
If domain/appSpace/appNode is deleted and recreated,
BusinessWorks6AppNode-<hashcode> in the *.hrb file must be updated to assure that rulebases work with the new appNode.
----Updated-on-May-29-2020----
A simple tool can achieve this easier in article
000037087.