spacer
cornerspacercorner
Reply
Employee
Ethan Beisher
Posts: 378
Registered: 05-10-2010
0 Kudos

Calling Multiple Transfers in Parallel

A customer recently asked how to call multiple transfers in parallel from a Process Flow. Here is one approach:

 

Create a Fork | Merge in your process flow for each transfer. You can then do a "For Each" based on the contents of the XML.

 

For example, if you have in your Workflow:

 

<Workflow>

   <FileList>

      <file>file1.txt</file>

      <file>file2.txt</file>

      <file>file3.txt</file>

   </FileList>

</Workflow>

 

Set the ForEach to Workflow.FileList

 

Then build the appropriate XMOFTSReq before each transfer, e.g.

 

<Workflow>

   <XMOFTSReq>

      <spath>file1.txt</spath>

      ...

   </XMOFTSReq>

</Workflow>

 

You can do this in another activity, or in a MIM Pre-Script.

 

Finally, call the sub-process "Transfer_File". The resulting workflow would look like this:

 

Parallel Transfers.PNG

Ethan Beisher
Solutions Engineer
Business Process Solutions
line spacer line
spacerFollow Metastorm on:
spacer Twitter YouTube Blog iTunes LinkedIn Metastorm Community Central, MC2
spacer Copyright © 2011 OpenText Corporation. All Rights Reserved.spacer About Metastormspacer Privacyspacer Legalspacer Site Mapspacer RSSspacer Contact Us
Microsoft Gold Certified Partner
Powered by Windows Azure
line spacer line