Invoke Method
Invoke Method calls a method from a Java Library, either on a bean
created earlier by Init Bean or on a class selected directly.
Target Bean names the instance to call against, and Scope is where that named bean
is looked up.
The activity has three tabs: Configuration, Input, and Output.
Configuration
| Field | Required | Description |
|---|
| Name | Required | Name of the activity step. |
| Description | Optional | Description of the activity step. |
| Library | Required | Select the user library and version, then choose a class or method when needed. |
| Target Bean | Optional | The bean to invoke the method on. |
| Scope | Optional | Where to store the named bean. Defaults to Process. |
Scope
| Option | Lifetime |
|---|
| Process | The bean lives for the duration of the workflow run. This is the default. |
| Application | The bean is shared across the application. |
| Engine | The bean is shared across the engine. |
| Field | Required | Description |
|---|
| Inputs | Optional | Arguments passed to the method. |
Output
| Field | Required | Description |
|---|
| Output | Optional | The method's return value. |