Skip to main content

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

FieldRequiredDescription
NameRequiredName of the activity step.
DescriptionOptionalDescription of the activity step.
LibraryRequiredSelect the user library and version, then choose a class or method when needed.
Bean NameOptionalBean name. Defaults to default when application or engine scope is used.
ScopeOptionalBean lifecycle scope. Defaults to Process.

Scope

OptionLifetime
ProcessThe bean lives for the duration of the workflow run. This is the default.
ApplicationThe bean is shared across the application.
EngineThe bean is shared across the engine.

Input

FieldRequiredDescription
InputsOptionalValues passed to the class on creation.

Output

FieldRequiredDescription
OutputOptionalThe created bean.