SlideShare a Scribd company logo
1 of 32
Download to read offline
ADF Task Flows
For Beginners
By Zeeshan Baig, Oracle ACE
www.baigzeeshan.com
A little about me.....
I am currently working as Senior Developer at NMH
in Chicago.

● 10+ years of experience in Oracle Development
  tools (Database, Forms, APEX, ADF, Fusion)
● Oracle ACE, OCP DBA certified in 8, 8i and 10g
● Technical blog on ADF and other fusion
  technologies at www.baigzeeshan.com
● YouTube channel http://youtube.com/baigsorcl
Disclaimer: The views expressed are my own and does not affiliates with my employer
Agenda
●     What are Task Flows?
●     Types of Task Flows?
●     Other concepts used in Task flows
●     Understand different components to build
      task flows
●     Introduction of Task flows templates
●     Some tips on building reusable task flows
●     Demo
●     Questions
Thanks Google, Flickr.com and Oracle documentation for images used in this presentation. These images are
unmodified and used for educational purpose only.
What are task flows
their types
and other concepts?
What are Task Flows?
In simple words
● Visual representation of app process flow
● Each TF contains portion of app navigation
● They are similar to traditional flow charts
● Primary purpose is reuse
Types of Task flows
  Un Bounded       Bounded
    Entry Points   Entry Points




    Exit Points     Exit Points
Types of Task Flows
    Key Differences

Un-bounded (UTF)                Bounded (BTF)

●   Public pages / No boundry   ●   Well defined boundry
●   No reuse                    ●   Reusable
●   No input parameters         ●   Can take input parameters
●   No return values            ●   Can return values
●   No transaction Control      ●   Allows transaction control
●   No security                 ●   Security control
●   e.g. Pages - Home, Help,    ●   e.g. Register, Checkout,
    Search, Navigations             other application processes
Bounded Task flows
● A typical application contains one
  unbounded task flow and many bounded
  task flows
● Build bounded task flows in its own
  application / workspace

BTFs can
● Create with Pages or Page fragments
● Create as Train flows
● Call in a Dialog
Bounded Task flows
Train Flows
Video tutorial at
http://www.baigzeeshan.com/2010/10/creating-train-flows-in-oracle-adf.
html
Page vs Page Fragment
Page Fragment
● Renders as content in another JSF page
● Must not contains the af:document, af:form, f:view,
  head, body and html because JSF page already has it
● has .jsff extension


Page
● can contains many fragments
● extension .jsf or .jspx
Task flow Regions
Regions are created when you drag and drop a bounded
task flow on a page

     Static Regions                Dynamic Regions
  ● Fixed visiblity           ● Visible based on custom logic
  ● Creates Task flow         ● Creates Multi-taskflow
     binding on page              binding

  ● Tutorial http://www.      ● Tutorial
     baigzeeshan.             http://www.baigzeeshan.
     com/2010/04/creating-    com/2010/06/working-with-dynamic-regions-
     pages-with-regions-in-   in-oracle.html
     oracle.html
Task Flow Managed Bean
Scopes
1. Application.....      Remains till application stops
2. Session..........     Persists till user session
3. PageFlow......        Also known as Task flow scope
4. View...............   Lifespan till current page
5. Request.........      Lives for duration of request
6. BackingBean.          only
7. Flash Scope..         UI Component based
                         Remains Till Next encountered
                         view (new in JSF 2.0)
Task flow Managed Bean
Scopes
OK I got it... now what
components i need to build
them?
Task Flow Components
Task flow Components
View Activity ● Displays a JSF Page or Fragment
              ● Extension .jsf, .jspx and .jsff
                   (fragments)
               ●   Bookmarkable only in unbounded
                   Task flows
               ●   Can have one or more task flow
                   regions
               ●   Good practice to have page
                   definition file attached
Task flow Components
 Method Call   ● Allows to call application logic in
                 task flow
  Activity
               ● Drag and drop methods from
                 Data Control
               ● OR DnD from component palette
                 then configure parameters to call
                 managed bean methods
               ● Common usages are initialization,
                 Clean-up, expcetion handler
               ● Can have return values in case of
                 method returns some result
               ● if method is of 'void' type then
                 outcome would be simple string
Task flow Components
Router Activity
                  ● Route to any activity based on EL
                      expression
                  ●   Have default condition
                  ●   No Limits on conditions
                  ●   No limits on destinations
                  ●   Good practice is to start your task
                      flows with Router for any future
                      customizations.
Task flow Components
Task flow call
   activity      ● Calls another task flow from
                   unbounded and bounded task
                   flow
                 ● Can take input parameters
                 ● Can return output parameters
                 ● Drag and Drop task flow from
                   Application navigator to task flow
                 ● Drag and Drop task flow to the
                   page as link or button
Task flow Components
 Task Flow
  Return     ● Used to ends or send controls
                 back to caller in Bounded Task
                 flows
             ●   Does either Commit or Rollback (If
                 Task flow is transactional)
             ●   Set outcome to required control
                 flow navigation-case.
             ●   BTF can have many TF return
                 activities
Task flow Components
 URL View
  Activity
             ● Used to Redirect application to
               addressable URL
             ● Can call BTFs
             ● Can call View activities on UTF
             ● Can call external sites e.g. http:
               //www.google.com
             ● No Control returned to caller
Task flow Components
 Save point
  Restore
              ● Allow to restore application to
                previous state
              ● Supports Save for later
                functionality
              ● Only required where Restore
                needed
Task flow Components
Parent      ● Allows to trigger
Action         navigation of Parent
               view activity in ADF
               Region
Control
flow case   ● Identifies how control will
               paas from one activity to
               another

Wild-card   ● Represents global
               navigation case
Building Task Flows
Building Task Flows
Task flow Templates
● You can create task flow
  templates for common
  activities in bounded
  task flows
● Common use case is
  error handler
● Best practice is to use
  template for all bounded
  task flows
How to Reuse Task flows in
 Different Application
● Create Deployment Profile ADF
  Library Jar
● Deploy as ADF library Jar
● Create Connection as File system in
  Resource Palette
● Drag and Drop from Resource
  Palette to your page and ADD libary
  path
● Complete Tutorial available at http:
  //www.baigzeeshan.
  com/2010/08/sharing-business-
  components-and-task.html
Tips to build Reusable
Task Flows
● Build BTFs in seperate application then
  merge them into master app using ADF Lib
  Jar
● Use task flow with page fragments
● Use Input parameters
● Use Router activity as default
● Set conditional behaviour of UI components
  based on Input parameters e.g. read-only,
  show/hide
● Use dynamic regions
Demo Example
●    Search Employees - Provides Search facility
Secured, called as normal on Home page and as List of values on
upload photo task flow
 ● View / Edit Employees
 Secured, Allows 'Managers' to edit and 'endusers' to view
employee detail. Displayed as ADF region and deployed as ADF
library jar
 ● Upload Photo - Task flow to upload employee photo
Secured, Called as Dialog and later calling search flow in a model
dialog
 ● Public
Runs a flash movie on home page for all unauthenticated users for
authenticated users displays graphs based on user type
My Contact
BLOG
http://baigzeeshan.com

YouTube Channel
http://youtube.com/baigsorcl

Email
zeeshan.baig82@gmail.com
Congratulations......
You are now Task flows Expert.... Thank you

More Related Content

What's hot

Ame how to diagnose issues with the default approver list in purchasing when ...
Ame how to diagnose issues with the default approver list in purchasing when ...Ame how to diagnose issues with the default approver list in purchasing when ...
Ame how to diagnose issues with the default approver list in purchasing when ...Abdul Rahman Fouad Thabit
 
Ame configuration process end to end
Ame configuration process end to endAme configuration process end to end
Ame configuration process end to enderpnavin-11i
 
Oracle ERP Personalization for control master items list
Oracle ERP Personalization for control master items listOracle ERP Personalization for control master items list
Oracle ERP Personalization for control master items listAhmed Elshayeb
 
Fujcci crp oracle payroll
Fujcci crp oracle payrollFujcci crp oracle payroll
Fujcci crp oracle payrollFeras Ahmad
 
Oracle R12 Landed Cost Management (lcm)
Oracle R12 Landed Cost Management (lcm)Oracle R12 Landed Cost Management (lcm)
Oracle R12 Landed Cost Management (lcm)Spiro (Stuart) Patsos
 
Kotlin coroutines 톺아보기
Kotlin coroutines 톺아보기Kotlin coroutines 톺아보기
Kotlin coroutines 톺아보기Taewoo Kim
 
Oracle Web Adi For upload item master
Oracle Web Adi For upload item masterOracle Web Adi For upload item master
Oracle Web Adi For upload item masterAhmed Elshayeb
 
20180518 QNAP Seminar - Introduction to React Native
20180518 QNAP Seminar - Introduction to React Native20180518 QNAP Seminar - Introduction to React Native
20180518 QNAP Seminar - Introduction to React NativeEric Deng
 
Spring Boot and REST API
Spring Boot and REST APISpring Boot and REST API
Spring Boot and REST API07.pallav
 
How to remove disable and cancel shipment functionality in enter purchase or...
How to remove  disable and cancel shipment functionality in enter purchase or...How to remove  disable and cancel shipment functionality in enter purchase or...
How to remove disable and cancel shipment functionality in enter purchase or...Ahmed Elshayeb
 
Dual Units Of Measure, Use, Benefits and Impact in Oracle application
Dual Units Of Measure, Use, Benefits and Impact in Oracle applicationDual Units Of Measure, Use, Benefits and Impact in Oracle application
Dual Units Of Measure, Use, Benefits and Impact in Oracle applicationiWare Logic Technologies Pvt. Ltd.
 
Oracle Forms Creation
Oracle Forms CreationOracle Forms Creation
Oracle Forms CreationSekhar Byna
 
Oracle R12 inventory Table name details with description
Oracle R12 inventory Table name details with descriptionOracle R12 inventory Table name details with description
Oracle R12 inventory Table name details with descriptionBoopathy CS
 
Oracle Forms : Multiple Forms
Oracle Forms : Multiple FormsOracle Forms : Multiple Forms
Oracle Forms : Multiple FormsSekhar Byna
 
18 Invaluable Lessons About ADF-JSF Interaction
18 Invaluable Lessons About ADF-JSF Interaction18 Invaluable Lessons About ADF-JSF Interaction
18 Invaluable Lessons About ADF-JSF InteractionSteven Davelaar
 
Oracle Forms : Validation Triggers
Oracle Forms : Validation TriggersOracle Forms : Validation Triggers
Oracle Forms : Validation TriggersSekhar Byna
 

What's hot (20)

Ame how to diagnose issues with the default approver list in purchasing when ...
Ame how to diagnose issues with the default approver list in purchasing when ...Ame how to diagnose issues with the default approver list in purchasing when ...
Ame how to diagnose issues with the default approver list in purchasing when ...
 
Oaf personaliztion examples
Oaf personaliztion examplesOaf personaliztion examples
Oaf personaliztion examples
 
Oracle Apps - Forms
Oracle Apps - FormsOracle Apps - Forms
Oracle Apps - Forms
 
Customizing Oracle EBS OA Framework
Customizing Oracle EBS OA FrameworkCustomizing Oracle EBS OA Framework
Customizing Oracle EBS OA Framework
 
Ame configuration process end to end
Ame configuration process end to endAme configuration process end to end
Ame configuration process end to end
 
Oracle ERP Personalization for control master items list
Oracle ERP Personalization for control master items listOracle ERP Personalization for control master items list
Oracle ERP Personalization for control master items list
 
Fujcci crp oracle payroll
Fujcci crp oracle payrollFujcci crp oracle payroll
Fujcci crp oracle payroll
 
Oracle R12 Landed Cost Management (lcm)
Oracle R12 Landed Cost Management (lcm)Oracle R12 Landed Cost Management (lcm)
Oracle R12 Landed Cost Management (lcm)
 
Kotlin coroutines 톺아보기
Kotlin coroutines 톺아보기Kotlin coroutines 톺아보기
Kotlin coroutines 톺아보기
 
Oracle Web Adi For upload item master
Oracle Web Adi For upload item masterOracle Web Adi For upload item master
Oracle Web Adi For upload item master
 
20180518 QNAP Seminar - Introduction to React Native
20180518 QNAP Seminar - Introduction to React Native20180518 QNAP Seminar - Introduction to React Native
20180518 QNAP Seminar - Introduction to React Native
 
Spring Boot and REST API
Spring Boot and REST APISpring Boot and REST API
Spring Boot and REST API
 
How to remove disable and cancel shipment functionality in enter purchase or...
How to remove  disable and cancel shipment functionality in enter purchase or...How to remove  disable and cancel shipment functionality in enter purchase or...
How to remove disable and cancel shipment functionality in enter purchase or...
 
Dual Units Of Measure, Use, Benefits and Impact in Oracle application
Dual Units Of Measure, Use, Benefits and Impact in Oracle applicationDual Units Of Measure, Use, Benefits and Impact in Oracle application
Dual Units Of Measure, Use, Benefits and Impact in Oracle application
 
Oracle Forms Creation
Oracle Forms CreationOracle Forms Creation
Oracle Forms Creation
 
Oracle R12 inventory Table name details with description
Oracle R12 inventory Table name details with descriptionOracle R12 inventory Table name details with description
Oracle R12 inventory Table name details with description
 
Mvc architecture
Mvc architectureMvc architecture
Mvc architecture
 
Oracle Forms : Multiple Forms
Oracle Forms : Multiple FormsOracle Forms : Multiple Forms
Oracle Forms : Multiple Forms
 
18 Invaluable Lessons About ADF-JSF Interaction
18 Invaluable Lessons About ADF-JSF Interaction18 Invaluable Lessons About ADF-JSF Interaction
18 Invaluable Lessons About ADF-JSF Interaction
 
Oracle Forms : Validation Triggers
Oracle Forms : Validation TriggersOracle Forms : Validation Triggers
Oracle Forms : Validation Triggers
 

Similar to Oracle ADF Task Flows for Beginners

ADF Taskflows for beginners
ADF Taskflows for beginnersADF Taskflows for beginners
ADF Taskflows for beginnersRajasekhar Manda
 
Build your Business Services using ADF Task Flows
Build your Business Services using ADF Task FlowsBuild your Business Services using ADF Task Flows
Build your Business Services using ADF Task FlowsDataNext Solutions
 
Introduction to Oracle ADF Task Flows
Introduction to Oracle ADF Task FlowsIntroduction to Oracle ADF Task Flows
Introduction to Oracle ADF Task FlowsRohan Walia
 
Silicon Valley Code Camp - JSF Controller for Reusability
Silicon Valley Code Camp - JSF Controller for ReusabilitySilicon Valley Code Camp - JSF Controller for Reusability
Silicon Valley Code Camp - JSF Controller for Reusabilityjcruizjdev
 
Apache Airflow in the Cloud: Programmatically orchestrating workloads with Py...
Apache Airflow in the Cloud: Programmatically orchestrating workloads with Py...Apache Airflow in the Cloud: Programmatically orchestrating workloads with Py...
Apache Airflow in the Cloud: Programmatically orchestrating workloads with Py...Kaxil Naik
 
Free the Functions with Fn project!
Free the Functions with Fn project!Free the Functions with Fn project!
Free the Functions with Fn project!J On The Beach
 
Spark Workflow Management
Spark Workflow ManagementSpark Workflow Management
Spark Workflow ManagementRomi Kuntsman
 
React - The JavaScript Library for User Interfaces
React - The JavaScript Library for User InterfacesReact - The JavaScript Library for User Interfaces
React - The JavaScript Library for User InterfacesJumping Bean
 
Data Engineer's Lunch #44: Prefect
Data Engineer's Lunch #44: PrefectData Engineer's Lunch #44: Prefect
Data Engineer's Lunch #44: PrefectAnant Corporation
 
Oracle ADF Architecture TV - Design - Task Flow Overview
Oracle ADF Architecture TV - Design - Task Flow OverviewOracle ADF Architecture TV - Design - Task Flow Overview
Oracle ADF Architecture TV - Design - Task Flow OverviewChris Muir
 
Liferay portals in real projects
Liferay portals  in real projectsLiferay portals  in real projects
Liferay portals in real projectsIBACZ
 
Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013
Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013
Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013Mack Hardy
 
Fighting legacy with hexagonal architecture and frameworkless php
Fighting legacy with hexagonal architecture and frameworkless phpFighting legacy with hexagonal architecture and frameworkless php
Fighting legacy with hexagonal architecture and frameworkless phpFabio Pellegrini
 
Prefect Paris Airflow Meetup Jeff Hale April 2023.pdf
Prefect Paris Airflow Meetup Jeff Hale April 2023.pdfPrefect Paris Airflow Meetup Jeff Hale April 2023.pdf
Prefect Paris Airflow Meetup Jeff Hale April 2023.pdfJeff Hale
 
RedisConf17 - Dynomite - Making Non-distributed Databases Distributed
RedisConf17 - Dynomite - Making Non-distributed Databases DistributedRedisConf17 - Dynomite - Making Non-distributed Databases Distributed
RedisConf17 - Dynomite - Making Non-distributed Databases DistributedRedis Labs
 
Making Workflows Work for You
Making Workflows Work for YouMaking Workflows Work for You
Making Workflows Work for YouStephan Richter
 

Similar to Oracle ADF Task Flows for Beginners (20)

ADF Taskflows for beginners
ADF Taskflows for beginnersADF Taskflows for beginners
ADF Taskflows for beginners
 
Build your Business Services using ADF Task Flows
Build your Business Services using ADF Task FlowsBuild your Business Services using ADF Task Flows
Build your Business Services using ADF Task Flows
 
Introduction to Oracle ADF Task Flows
Introduction to Oracle ADF Task FlowsIntroduction to Oracle ADF Task Flows
Introduction to Oracle ADF Task Flows
 
Silicon Valley Code Camp - JSF Controller for Reusability
Silicon Valley Code Camp - JSF Controller for ReusabilitySilicon Valley Code Camp - JSF Controller for Reusability
Silicon Valley Code Camp - JSF Controller for Reusability
 
Apache Airflow in the Cloud: Programmatically orchestrating workloads with Py...
Apache Airflow in the Cloud: Programmatically orchestrating workloads with Py...Apache Airflow in the Cloud: Programmatically orchestrating workloads with Py...
Apache Airflow in the Cloud: Programmatically orchestrating workloads with Py...
 
Airflow Intro-1.pdf
Airflow Intro-1.pdfAirflow Intro-1.pdf
Airflow Intro-1.pdf
 
Free the Functions with Fn project!
Free the Functions with Fn project!Free the Functions with Fn project!
Free the Functions with Fn project!
 
Spark Workflow Management
Spark Workflow ManagementSpark Workflow Management
Spark Workflow Management
 
React - The JavaScript Library for User Interfaces
React - The JavaScript Library for User InterfacesReact - The JavaScript Library for User Interfaces
React - The JavaScript Library for User Interfaces
 
An intro to git
An intro to gitAn intro to git
An intro to git
 
Data Engineer's Lunch #44: Prefect
Data Engineer's Lunch #44: PrefectData Engineer's Lunch #44: Prefect
Data Engineer's Lunch #44: Prefect
 
Oracle ADF Architecture TV - Design - Task Flow Overview
Oracle ADF Architecture TV - Design - Task Flow OverviewOracle ADF Architecture TV - Design - Task Flow Overview
Oracle ADF Architecture TV - Design - Task Flow Overview
 
Web dynpro
Web dynproWeb dynpro
Web dynpro
 
Liferay portals in real projects
Liferay portals  in real projectsLiferay portals  in real projects
Liferay portals in real projects
 
Dataflow.pptx
Dataflow.pptxDataflow.pptx
Dataflow.pptx
 
Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013
Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013
Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013
 
Fighting legacy with hexagonal architecture and frameworkless php
Fighting legacy with hexagonal architecture and frameworkless phpFighting legacy with hexagonal architecture and frameworkless php
Fighting legacy with hexagonal architecture and frameworkless php
 
Prefect Paris Airflow Meetup Jeff Hale April 2023.pdf
Prefect Paris Airflow Meetup Jeff Hale April 2023.pdfPrefect Paris Airflow Meetup Jeff Hale April 2023.pdf
Prefect Paris Airflow Meetup Jeff Hale April 2023.pdf
 
RedisConf17 - Dynomite - Making Non-distributed Databases Distributed
RedisConf17 - Dynomite - Making Non-distributed Databases DistributedRedisConf17 - Dynomite - Making Non-distributed Databases Distributed
RedisConf17 - Dynomite - Making Non-distributed Databases Distributed
 
Making Workflows Work for You
Making Workflows Work for YouMaking Workflows Work for You
Making Workflows Work for You
 

More from DataNext Solutions

Getting Started with Web Services
Getting Started with Web ServicesGetting Started with Web Services
Getting Started with Web ServicesDataNext Solutions
 
Talking Services with Oracle ADF and Oracle SOA Suite
Talking Services with Oracle ADF and Oracle SOA SuiteTalking Services with Oracle ADF and Oracle SOA Suite
Talking Services with Oracle ADF and Oracle SOA SuiteDataNext Solutions
 
Oracle SOA Suite for High availability Enterprises
Oracle SOA Suite for High availability EnterprisesOracle SOA Suite for High availability Enterprises
Oracle SOA Suite for High availability EnterprisesDataNext Solutions
 
Working with Portlets in ADF and Webcenter
Working with Portlets in ADF and WebcenterWorking with Portlets in ADF and Webcenter
Working with Portlets in ADF and WebcenterDataNext Solutions
 
Getting Started with Oracle APEX
Getting Started with Oracle APEXGetting Started with Oracle APEX
Getting Started with Oracle APEXDataNext Solutions
 
The Challenges Oracle Forms Migration to ADF
The Challenges Oracle Forms Migration to ADFThe Challenges Oracle Forms Migration to ADF
The Challenges Oracle Forms Migration to ADFDataNext Solutions
 
A guide to ADF fusion development
A guide to ADF fusion developmentA guide to ADF fusion development
A guide to ADF fusion developmentDataNext Solutions
 

More from DataNext Solutions (8)

Cloud Computing Basics
Cloud Computing BasicsCloud Computing Basics
Cloud Computing Basics
 
Getting Started with Web Services
Getting Started with Web ServicesGetting Started with Web Services
Getting Started with Web Services
 
Talking Services with Oracle ADF and Oracle SOA Suite
Talking Services with Oracle ADF and Oracle SOA SuiteTalking Services with Oracle ADF and Oracle SOA Suite
Talking Services with Oracle ADF and Oracle SOA Suite
 
Oracle SOA Suite for High availability Enterprises
Oracle SOA Suite for High availability EnterprisesOracle SOA Suite for High availability Enterprises
Oracle SOA Suite for High availability Enterprises
 
Working with Portlets in ADF and Webcenter
Working with Portlets in ADF and WebcenterWorking with Portlets in ADF and Webcenter
Working with Portlets in ADF and Webcenter
 
Getting Started with Oracle APEX
Getting Started with Oracle APEXGetting Started with Oracle APEX
Getting Started with Oracle APEX
 
The Challenges Oracle Forms Migration to ADF
The Challenges Oracle Forms Migration to ADFThe Challenges Oracle Forms Migration to ADF
The Challenges Oracle Forms Migration to ADF
 
A guide to ADF fusion development
A guide to ADF fusion developmentA guide to ADF fusion development
A guide to ADF fusion development
 

Recently uploaded

MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxMaryGraceBautista27
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxPoojaSen20
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 

Recently uploaded (20)

MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptx
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 

Oracle ADF Task Flows for Beginners

  • 1. ADF Task Flows For Beginners By Zeeshan Baig, Oracle ACE www.baigzeeshan.com
  • 2. A little about me..... I am currently working as Senior Developer at NMH in Chicago. ● 10+ years of experience in Oracle Development tools (Database, Forms, APEX, ADF, Fusion) ● Oracle ACE, OCP DBA certified in 8, 8i and 10g ● Technical blog on ADF and other fusion technologies at www.baigzeeshan.com ● YouTube channel http://youtube.com/baigsorcl Disclaimer: The views expressed are my own and does not affiliates with my employer
  • 3. Agenda ● What are Task Flows? ● Types of Task Flows? ● Other concepts used in Task flows ● Understand different components to build task flows ● Introduction of Task flows templates ● Some tips on building reusable task flows ● Demo ● Questions Thanks Google, Flickr.com and Oracle documentation for images used in this presentation. These images are unmodified and used for educational purpose only.
  • 4. What are task flows their types and other concepts?
  • 5. What are Task Flows? In simple words ● Visual representation of app process flow ● Each TF contains portion of app navigation ● They are similar to traditional flow charts ● Primary purpose is reuse
  • 6. Types of Task flows Un Bounded Bounded Entry Points Entry Points Exit Points Exit Points
  • 7. Types of Task Flows Key Differences Un-bounded (UTF) Bounded (BTF) ● Public pages / No boundry ● Well defined boundry ● No reuse ● Reusable ● No input parameters ● Can take input parameters ● No return values ● Can return values ● No transaction Control ● Allows transaction control ● No security ● Security control ● e.g. Pages - Home, Help, ● e.g. Register, Checkout, Search, Navigations other application processes
  • 8. Bounded Task flows ● A typical application contains one unbounded task flow and many bounded task flows ● Build bounded task flows in its own application / workspace BTFs can ● Create with Pages or Page fragments ● Create as Train flows ● Call in a Dialog
  • 9. Bounded Task flows Train Flows Video tutorial at http://www.baigzeeshan.com/2010/10/creating-train-flows-in-oracle-adf. html
  • 10. Page vs Page Fragment Page Fragment ● Renders as content in another JSF page ● Must not contains the af:document, af:form, f:view, head, body and html because JSF page already has it ● has .jsff extension Page ● can contains many fragments ● extension .jsf or .jspx
  • 11. Task flow Regions Regions are created when you drag and drop a bounded task flow on a page Static Regions Dynamic Regions ● Fixed visiblity ● Visible based on custom logic ● Creates Task flow ● Creates Multi-taskflow binding on page binding ● Tutorial http://www. ● Tutorial baigzeeshan. http://www.baigzeeshan. com/2010/04/creating- com/2010/06/working-with-dynamic-regions- pages-with-regions-in- in-oracle.html oracle.html
  • 12. Task Flow Managed Bean Scopes 1. Application..... Remains till application stops 2. Session.......... Persists till user session 3. PageFlow...... Also known as Task flow scope 4. View............... Lifespan till current page 5. Request......... Lives for duration of request 6. BackingBean. only 7. Flash Scope.. UI Component based Remains Till Next encountered view (new in JSF 2.0)
  • 13. Task flow Managed Bean Scopes
  • 14. OK I got it... now what components i need to build them?
  • 16. Task flow Components View Activity ● Displays a JSF Page or Fragment ● Extension .jsf, .jspx and .jsff (fragments) ● Bookmarkable only in unbounded Task flows ● Can have one or more task flow regions ● Good practice to have page definition file attached
  • 17. Task flow Components Method Call ● Allows to call application logic in task flow Activity ● Drag and drop methods from Data Control ● OR DnD from component palette then configure parameters to call managed bean methods ● Common usages are initialization, Clean-up, expcetion handler ● Can have return values in case of method returns some result ● if method is of 'void' type then outcome would be simple string
  • 18. Task flow Components Router Activity ● Route to any activity based on EL expression ● Have default condition ● No Limits on conditions ● No limits on destinations ● Good practice is to start your task flows with Router for any future customizations.
  • 19. Task flow Components Task flow call activity ● Calls another task flow from unbounded and bounded task flow ● Can take input parameters ● Can return output parameters ● Drag and Drop task flow from Application navigator to task flow ● Drag and Drop task flow to the page as link or button
  • 20. Task flow Components Task Flow Return ● Used to ends or send controls back to caller in Bounded Task flows ● Does either Commit or Rollback (If Task flow is transactional) ● Set outcome to required control flow navigation-case. ● BTF can have many TF return activities
  • 21. Task flow Components URL View Activity ● Used to Redirect application to addressable URL ● Can call BTFs ● Can call View activities on UTF ● Can call external sites e.g. http: //www.google.com ● No Control returned to caller
  • 22. Task flow Components Save point Restore ● Allow to restore application to previous state ● Supports Save for later functionality ● Only required where Restore needed
  • 23. Task flow Components Parent ● Allows to trigger Action navigation of Parent view activity in ADF Region Control flow case ● Identifies how control will paas from one activity to another Wild-card ● Represents global navigation case
  • 26. Task flow Templates ● You can create task flow templates for common activities in bounded task flows ● Common use case is error handler ● Best practice is to use template for all bounded task flows
  • 27. How to Reuse Task flows in Different Application ● Create Deployment Profile ADF Library Jar ● Deploy as ADF library Jar ● Create Connection as File system in Resource Palette ● Drag and Drop from Resource Palette to your page and ADD libary path ● Complete Tutorial available at http: //www.baigzeeshan. com/2010/08/sharing-business- components-and-task.html
  • 28. Tips to build Reusable Task Flows ● Build BTFs in seperate application then merge them into master app using ADF Lib Jar ● Use task flow with page fragments ● Use Input parameters ● Use Router activity as default ● Set conditional behaviour of UI components based on Input parameters e.g. read-only, show/hide ● Use dynamic regions
  • 29. Demo Example ● Search Employees - Provides Search facility Secured, called as normal on Home page and as List of values on upload photo task flow ● View / Edit Employees Secured, Allows 'Managers' to edit and 'endusers' to view employee detail. Displayed as ADF region and deployed as ADF library jar ● Upload Photo - Task flow to upload employee photo Secured, Called as Dialog and later calling search flow in a model dialog ● Public Runs a flash movie on home page for all unauthenticated users for authenticated users displays graphs based on user type
  • 30.
  • 32. Congratulations...... You are now Task flows Expert.... Thank you