Task Flows at the Heart of Oracle ADF
There is nothing more important than understanding task flow-oriented design and architecture when developing Oracle ADF applications
ADF controller supports task flows. Supporting task flows helps us to break our complex web application into smaller reusable flows. The task flows are simple XML files. Each of the pages in the task flow is added as a view activity and the control flows between the pages. The components in the task flows are called as activities and each of the control flows will have an outcome to define the navigation.
Develop User Interface Services – Not Pages
Steven Davelaar, "Building Highly Reusable Task Flows"
There are two types of task flows in ADF
Unbounded Task Flow
Unbounded task flows are designed to handle navigation between pages which do not necessarily follow any specific entry point or exit point. For example, consider the pages linked through the toolbar menu in an application. An end user can select any menu option that he or she likes, or the person can even type the URL directly in the browser for viewing the page and can exit from the page or switch to a new page at any point in time. The navigation model for such pages (unbounded view) is defined using unbounded task flow. Unbounded task flow defines navigation for unbounded views in a Fusion web application.
Bounded Task Flow
The bounded task flow is primarily designed to implement reusable navigation cases with definite entry and exit points. A bounded task flow contains its own set of control flow rules, activities, and managed beans.