Forum Stats

  • 3,815,264 Users
  • 2,258,987 Discussions
  • 7,893,019 Comments

Discussions

how to pass paramter between 2 seprate taskflows in webcenter portal 12 ?

User_93BZ0
User_93BZ0 Member Posts: 7 Employee
edited Oct 10, 2019 4:07AM in WebCenter Portal

i have developed 2 custom task flows TaskFlowA , TaskFlowB
and deployed them as shared library and added them to resource catalog
the the taskFlowB has input Paramter , called url which is the value for inlineFrame component
and taskFlowA has 3 af:links with actionListner  link1 , link2 , link3
those 2 task flows are added on webcenter portal page as a components
the problem is i can't pass paramter from taskFlowA whick is the url  to TaskFlowB and refresh it
(i tried to use session scope variables , and it worked but the behavior became incostistant when open multiple tabs )
any help please ?

Tagged:
User_93BZ0

Answers

  • Daniel Merchán
    Daniel Merchán Enterprise Achitect Member Posts: 2,192 Gold Trophy
    edited Oct 10, 2019 4:07AM

    Hi,

    For communicating Task Flows within a Oracle WebCener Portal Page you can make use of the Contextual Events framework provided by Oracle ADF.

    • Your Task Flow A can throw a Contextual Event that you can define declaratively or fire it programmatically with a Payload included.
    • Your Task Flow B consumes the Contextual Event of Task Flow A by registering himself as a consumer in the same WebCenter Portal Page (in the Page Definition).

    Kind regards.

    User_93BZ0