Init Bean
Init Bean instantiates a class from a Java Library and keeps the
instance available for later steps to use. Invoke Method then calls
methods on it.
Scope decides how long the instance lives and who else can see it.
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. |
| Bean Name | Optional | Bean name. Defaults to default when application or engine scope is used. |
| Scope | Optional | Bean lifecycle scope. 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 | Values passed to the class on creation. |
Output
| Field | Required | Description |
|---|
| Output | Optional | The created bean. |