Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    How to carry forward an input document in Pflow?
Go
New
Search
Notify
Tools
Reply
  
How to carry forward an input document in Pflow?
 Login/Join
 
Member
posted
Hi All,

I am creating a pflow. Basically I want to access the original input document from Start object in all paths within the pflow.

I tried Join Object connecting from Start Object to the point I need the input document. It doesn't work on optional path because it's always waiting for another input document which doesn't happen sometimes.

I am not sure what's the best approach to carry forward an input documet and make it globally accessable?

Thanks,
Dennis


iWay adapter manager
SAP Adapter
Web Services
SAP BASIS, Java Core
 
Posts: 22 | Registered: January 15, 2008Reply With QuoteReport This Post
Gold member
posted Hide Post
Hi Dennis,
One technique is to store the original document using an XDSREGAgent in a service object immediately after the start object. Set an SREG to "_flatof()". This SREG value can be reintroduced later in the flow using an XDConstantAgent service object.


iWay 5.5 SMSP1 and 6.0.1 on Intel/Linux
 
Posts: 59 | Location: Birmingham, Blighty | Registered: October 30, 2007Reply With QuoteReport This Post
Member
posted Hide Post
Two ways I can think of -
1. write the document out to a file dir using a file object at the start of the flow. Subsequently use the File object to read the document back in the respective branches
2. Try using the Junction object instead of the join. Excerpt from the user guide -
A Junction object joins two or more paths of execution into a single path. It does not join
documents that travel along the path. For example, if you have five distinct paths that run to a certain point and then all paths execute the same logic, use the Junction object to consolidate the flow at the point of common execution.


iWay 55 SM SP2
 
Posts: 3 | Registered: April 18, 2008Reply With QuoteReport This Post
Member
posted Hide Post
Thanks guys for your response. will try them.


iWay adapter manager
SAP Adapter
Web Services
SAP BASIS, Java Core
 
Posts: 22 | Registered: January 15, 2008Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    How to carry forward an input document in Pflow?

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.