- TIBCO BusinessEvents®
- Hawk
- Hawk

# Hawk.invokeHawkMethod()

## Signature

`Object[] invokeHawkMethod(String agentName, String microAgentName, String methodName, SimpleEvent params)`

## Domain

ACTION, BUI

## Description

Generic method invoke, using event to carry all the parameters

## Parameters

Name | Type | Description
--- | --- | ---
`agentName` | `String` | Agent's name
`microAgentName` | `String` | Microagent's name
`methodName` | `String` | Method name
`params` | `SimpleEvent` | Paramters for method invocation

## Returns

Type | Description
--- | ---
`Object[]` | Result of Microagent Method invocation. Notice:The first row is the name array of columns, the second row is the display name array of columns, the following rows are actual data.

## Cautions

none