Skip to main content

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​

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.
Target BeanOptionalThe bean to invoke the method on.
ScopeOptionalWhere to store the named bean. 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
InputsOptionalArguments passed to the method.

Output​

FieldRequiredDescription
OutputOptionalThe method's return value.