Save return value for the MethodCall

Sometimes we have a methodcall in the Tasflows and these methods return a value.
If you need save the return value in a bean you can put a EL expression throught:

  • Parameters >Return Value.

See next image.

Anuncios

MethodCall in Trains

Today I upload a sample that shows how to call a method call before step train in a declarative way.

This is a image of Taskflow:

We have a generic navigation to the methodCall, now in the outcome property of the second step put a generic navigation goMethod.

In this sample also show how to change the labels of the train steps

For more info see the doc: http://docs.oracle.com/cd/E15523_01/web.1111/b31973/trains

FootNotes:

  • You can download the sample here
  • JDev version 11.1.2.3