Java Action Call

Last update: Edit

1 Introduction

The Java action call activity can be used to call a Java action.

Java Action

Arguments can be passed to the action and the result can be stored.

2 Properties

There are two sets of properties for this activity, those in the dialog box on the left, and those in the properties pane on the right:

Java Action Call Properties

The Java action call properties pane consists of the following sections:

3 Action Section

The Action section of the properties pane shows the action associated with this activity.

You can open a dialog box to configure this action by clicking the ellipsis () next to the action.

You can also open the dialog box by double-clicking the activity in the microflow or right-clicking the activity and selecting Properties.

3.1 Java Action

The Java action that is called by this activity.

3.2 Arguments

Click Edit next to the parameter to fill in the arguments.

An argument is the input data that you are passing to the Java action. For each Java action parameter, you must supply an argument of the same type.

The values of the arguments are defined using expressions:

argument

3.3 Return Type

This read-only property indicates whether you will retrieve a variable, object or list. The return type is defined by the Java action.

3.4 Use Return Value

If User return value is set to Yes you will be asked to give the return value a name.

3.5 Variable Name, Object Name, or List Name

The result of the Java action will be given this name. The label indicates whether the result is a variable, object, or list. If it is an object or list, the Return type will indicate the entity which is being returned.

4 Common Section

For more information on properties in this section, see Common Properties.