I have two taskflows deployed as portlets,
One TaskFlow having table containing a list of 3 rows,where each row represents a unique graph in another taskflow.
Other TaskFlow contains three deployed graphs.
Intially, second portlet must be empty...whenever user selects particular row in first portlet, respective graph should be displayed.
Note: I thought use InterPortlet Communication between those two portlets and to pass some unique value(may be Id) as a parameter.
You have to use contextual events because you are using taskflows as portlets.
Because you are inside a taskflow, the PortletRequest will not be available because it is handled by the taskflow controller. Therefore you need to use contextual events and expose them as portlet events.
An event can have a payload which can be the ID of the record you select.
Simalar as explained here: http://yonaweb.be/inter_component_communication_between_taskflows_adf_and_webcenter
But you also have to expose the event as a portlet event.