First page Back Continue Last page Text

oracle adf workshop


Calling Methods and Other Task Flows

In addition to view and router activities, you can call methods and task flows from within a task flow by using method call and task flow call activities. You can pass parameters to the called activities, and control returns to the calling task flow when the called activity is completed.

The example in the slide shows part of a ShoppingFlow bounded task flow. It contains a task flow call activity that calls another bounded task flow, CheckoutFlow. It also contains a method call activity, commit, which calls a managed bean method to commit the transaction.

The slide shows the Common panel of the Property Inspector. Note that both the task flow and the method call Property Inspectors also have a Parameters panel; you use this to define parameters to pass to the task flow or method.