ADF Task Flows

ADF Task Flows
Technology Choices for Fusion Applications
Characteristics of ADF Task Flows
ADF task flows are logical units of page flows that:
• Offer advantages over JSF page flows:
– Application can be broken into series of tasks
– Can contain nodes other than pages
– Can navigate between activities other than pages
– Reusable
– Shared memory scope
• Can be either unbounded or bounded
Characteristics of Unbounded ADF Task Flows
Unbounded ADF task flows often serve as the entry point to
an application, and have the following characteristics:
• First entry on task flow stack—the outermost task flow
• No well-defined boundary or single point of entry: use an
unbounded task flow if your application has multiple points of
• Can be used to define the “top level” flow of an application
• Bookmarkable pages
Working with Unbounded Task Flows
• Unbounded task flow source file is adfc-config.xml.
• Editor contains four tabs to show different views:
– Diagram
– Source
– Overview
– History
• You can easily test task flow functionality in the unbounded task flow,
and convert to bounded when functioning correctly.
Using a Bounded Task Flow
• Bounded task flows can be made up of page fragments (.jsff
• Such flows can then be embedded into pages as “regions”
• This is a very common pattern allowing the creation of
complex pages made up of a series of re-usable
components (ie. Task Flows)
• Just drag and drop the flow into the page
Bounded and Unbounded ADF Task Flows:
Comparing Unbounded and Bounded Task
Converting Task Flows
Defining ADF Control Flow Rules
ADF control flow rules:
• Define flow through activities, such as views (pages)
• Are stored in task flow configuration files
• Can be defined by using:
– The visual editor (Navigation Modeler)
– The .xml console (Configuration Editor)
– The .xml file directly
– The Structure window
• Are invoked by:
– Command components (button, link)
– Tabs or breadcrumbs
– Trains
Example of ADF Control Flow Rules
Using Routers for Conditional Navigation
Router activities:
• Use expressions that
evaluate to true or false
• Define from-outcomes
based on the value of the
Calling Methods and Other Task Flows
Defining a Task Flow Return Activity
• When you return from a called task flow, the task flow return
• activity specifies the outcome that is returned to the caller.

similar documents