Focal Point
[CLOSED] How to call a process flow dynamically?

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/1381057331/m/2997073676

May 26, 2015, 03:48 AM
Jaficgui
[CLOSED] How to call a process flow dynamically?
I was wondering how to call a dynamic process flow(e.g. Flow_001,Flow_002...Flow_100) in another flow(Father_Flow), because the dynamic flow was decided by a field of input xml.
e.g.
If input xml is 001, Father_Flow should call Flow_001.
if input xml is 020, Father_Flow should call Flow_020.
if input xml is 100, Father_Flow should call Flow_100.



.

This message has been edited. Last edited by: <Kathryn Henning>,


1) Version: iWay 7.0.2 (iWay Integration Suite)
2) Platform: Linux
May 27, 2015, 09:28 AM
Michael2001
I'm assuming this is in Data Migrator. I know of 3 possible ways. The first is to write a procedure that uses Dialog Manager Code to interrogate the variable and then EXecute the appropriate flows.

Second option would be to build the flow name in a variable and execute the variable name using the EXecute command.

The 3rd method would be to use CUSTOM conditions on the connection between the a flow and the various child flows.


WebFOCUS 8.1.04
Data Migrator
Excel, PDF, HTML, Active Technologies
Windows 7