In this post we will be seeing practical example of reusing task flow to display same tabular format of data using same table component for different View Objects.
So suppose there are two pages in the application Employee and Department and both show respective data in Table format. Instead we can create a task flow which can take the name of the ViewObject as a parameter and display data on the same table dynamically. There will be only one page in task flow and one table component in the page which display data of employee and department dynamically based on corresponding VO name as input parameter to the task flow. Isn't this wonderful. Further you can reuse the same taskflow anywhere in the application by just changing the input ViewObject name.
Lets get started.