Calling a task flow as a URL programmatically
A task flow that is indicated as URL invokable (by setting its
true) may be accessed directly by constructing and invoking its URL. This allows you to dynamically invoke task flows from within your Java code depending on some condition that is satisfied at runtime. Programmatically, this can be done using the
oracle.adf.controller.ControllerContext.getTaskFlowURL() method and specifying the task flow identifier and parameters.
For this recipe, to demonstrate calling a task flow via its URL, we will create a task flow that is URL invokable and call it from a JSF page programmatically. The task flow accepts a parameter and based on the parameter's value, determines ...