Passing a Variable into a File Write Adapter

Passing a Variable into a File Write Adapter

In a previous posts we looked at:


Below we review how to use save/compile ALL outbound EDI data into a single file

Step One: Create File Adapter - Write/Append

We will create a write adapter with:

  • File Name:Prefix of "EDIOutbound_"
  • Interaction:Write
  • Collision Action :Append
EXTOL Business Integrator EBI File Adapter Variable screenshot

Step Two: Reference File Adapter in Business Process Script

In the EXTOL Business Process Script below we reference the File Write Adapter and the variable that is passed into the Business Process Script.


Passing Variable from Business Process script into EXTOL Business Integrator EBI File Adapter screenshot

By: on
load('http://www.extol.com/extolnews.rss'); $feed = array(); foreach ($rss->getElementsByTagName('item') as $node) { $item = array ( 'title' => $node->getElementsByTagName('title')->item(0)->nodeValue, 'desc' => $node->getElementsByTagName('description')->item(0)->nodeValue, 'link' => $node->getElementsByTagName('link')->item(0)->nodeValue, 'date' => $node->getElementsByTagName('pubDate')->item(0)->nodeValue, ); array_push($feed, $item); } $limit = 4; echo ' A free web counter provided by GoStats.