When creating your Web Service methods, user-defined actions, processes and process flows you might need to define output parameters in order to return values computed by that action, process or process flow element. Output parameters are necessary when some data needs to be returned. User-defined actions defined as functions must have one and only one output parameter.

Examples

Mortgage_monthly_value, Employee_age

How to add an output parameter to an Action, Process, or Process Flow element:

  1. Right-click the action, process, or process activity in the eSpace tree and select Add Output Parameter

  1. Rename it as desired.

To add another parameter, simply repeat this operation.

How to access an output parameter of an Action:

In the expressions of the caller flow that invokes the action, you can access the output parameters in one of the following ways:

  • Directly type the <instance of action>.<name of parameter> or

  • Through the special editors in the folder Locals.

See how to execute an action in an action flow.

In case the action is a User Function, invoke it, in the expressions, in one of the following ways:

  • Type directly the <invocation of action> or

  • Double-click it in the Scope Tree of the Expression editor

Learn how to Use User Functions

 

How to access an output parameter of a Process:

In the expressions of the caller flow that invokes the process, you can access the output parameters in one of the following ways:

  • Directly type the <instance of process>.<name of parameter> or

  • Through the special editors in the folder Locals.

See more about execute process tool and output parameters in a process flow.

In the expressions of the process itself, you can access the output parameters values in one of the following ways:

  • Type directly the <name of parameter> or

  • Double-click it in the Scope Tree of the Expression editor

 

How to access an output parameter of a Process Flow element:

In the expressions of the caller flow that invokes the process element, you can access the output parameters in one of the following ways:

  • Directly type the <instance of process flow element>.<name of parameter> or

  • Through the special editors in the folder Locals.

See more about process elements and output parameters in a process flow.

In the expressions of the process element itself, you can access the output parameters values in one of the following ways:

  • Type directly the <name of parameter> or

  • Double-click it in the Scope Tree of the Expression editor

To delete an output parameter, right-click it in the eSpace tree and select the option Delete.

See Also

Output Parameter Properties | About Input Parameters | About Variables | Expose an Action as a User Function | Use User Functions