Showing posts with label TaskFlows. Show all posts
Showing posts with label TaskFlows. Show all posts

December 13, 2012

Import ADF Taskflow into a Portal as a library

To import a ADF task flow into a web center portal application as a library, follow the below procedure

  • Create a deployment profile for the ADF task flow project as “ADF library jar”
  • Deploy and make adf library jar for the ADF task flow
  • Open the Resource Palette on right side of the JDev
  • Right click on “File System” and select the option “New File System Connection”
  • Provide a name to the connection and directory path where the adf task flow jar file is copied
  • The created connection will be added to the Resource Palette
  • Open the Portal application and select the project to which the task flow should be added
  • In the Resource Palette, expand the connection created and right click on the jar file, select the option “Add to Project”. It will ask for the confirmation to which project it will be added
  • Now expand the jar file and drag and drop the task flow listed in a jsf page as a region in which we want to show the task flow

May 27, 2012

Passing parameters to a Bounded Task flow

Follow the below procedure to pass the parameters to a task flow.

  1. Create a Task flow, flowA
  2. Add a jspx page PageA and a taskflow definition (flowB) to flowA
  3. Create a control flow case between PageA and FlowB
  4. Go to flowA’s overview tab
    1. In managebeans, create a managed bean
    2. In Parametrs, create a return value definitions to the bean value
  5. Double Click on FlowB icon in FlowA.xml and create the task flow flowB
  6. Go to flowB’s overview tab
    1. In parameters, create an input paratemeter definition
  7. Add a jspx page to flowB and create the page to display the input parameter
  8. Selecte flowB icon in flowA.xml
    1. In the properties, under parameters, add an input parameter and give the name as given to the input parameter in flowB overview, and select the value as the variable of the bean