Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 3 Microagent Management : Invoking a Microagent Method

Invoking a Microagent Method
Invoke a microagent method to immediately view its result. Invoking is useful when you want to test a method before using it in a rule, or to check a return value for troubleshooting purposes.
The invoke results are displayed in the Invoke window. The results vary, depending on the arguments required for the invoked method. For information about all the microagent methods, see TIBCO Hawk Microagent Reference Guide.
For all methods that have some return values, the result of the method is displayed on the window and for all the methods without any return values, no result is displayed.
Procedure
1.
2.
All the microagents for the Hawk agent are displayed in the tab. For details, see Microagents Tab.
3.
The right panel displays the microagent details and all its methods.
4.
Under the Actions column, click the Invoke icon to invoke the microagent method.
The Invoke window is displayed with all the required parameters for the microagent method.
5.
6.
Click Close or, to define parameters for the method, click Back.
Example
For example, the following figure shows the sample result for invoking the Self:getMicroAgentInfo method without any supplied argument.
Figure 8 Sample Result of Invoking getMicroAgentInfo Method

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved