|
Go
![]() |
New
![]() |
Search
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Member |
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 |
||
|
|
Member |
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 on Intel/Linux |
|||
|
|
Member |
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 |
|||
|
|
Member |
Thanks guys for your response. will try them.
iWay adapter manager SAP Adapter Web Services SAP BASIS, Java Core |
|||
|
| Previous Topic | Next Topic | powered by eve community |
| Please Wait. Your request is being processed... |
|

