First page Back Continue Last page Text

oracle adf workshop

Notes:


Returning Values to a Calling Task Flow (continued)

To specify a return value for a called ADF bounded task flow, perform the following steps:

1. In the task flow editor, open the called ADF bounded task flow.

2. On the Overview tab, select the Parameters panel and click Add in the Return Value Definitions section to add the return value:

In the name field, enter a name to identify the return value, for example, Return1.

In the value field, enter an EL expression that specifies where the return value is to be taken from upon exit of the called bounded task flow, for example, #{pageFlowScope.ReturnValueDefinition}.

To specify a return value for the calling task flow, perform the following steps:

1. In the task flow editor, open the calling ADF task flow and in the task flow diagram, select the task flow call activity.

2. In the Property Inspector, select the Parameters panel and click Add in the Return Values section.

In the name field, enter a name to identify the return value, for example, Return1. The name of the return value must match the name of the return value definition on the called task flow definition.

In the value field, enter an EL expression that specifies where the calling task flow can find return values, for example, #{pageFlowScope.ReturnValue}.

Tip: If you drop the bounded task flow that you intend to call on the task flow call activity, the name field is already specified. Therefore, the name field for the return value automatically matches the name of the return value definition on the called task flow definition.