- TIBCO BusinessEvents®
- Hawk
- Hawk

# Hawk.invokeHawkMethodOnMutipleAgents()

## Signature

`Object[] invokeHawkMethodOnMutipleAgents(String[] agentNames, String microAgentName,String methodName, SimpleEvent params)`

## Domain

ACTION, BUI

## Description

Invoke microagent method on mutiple agents

## Parameters

Name | Type | Description
--- | --- | ---
`agentNames` | `String[]` | Agents name list
`microAgentName` | `String` | Microagent's name
`methodName` | `String` | Method name
`params` | `SimpleEvent` | Paramters for method invocation

## Returns

Type | Description
--- | ---
`Object[]` | Result of Microagent Method invocation on multiple agents. Notice: Result contain 2 parts, first part is the name of agent, second part is the result of Microagent Method invocation on this agent

## Cautions

none