Using HAS DATA Task in Business Process Script

Using HAS DATA Task in Business Process Script

When automating an EBI 'Launcher' business process, where a database SQL select is to occur, use the HAS DATA task.

Using the HAS DATA task will allow us to test for data in a Storage ID. BY testing the Storage ID variable, we can ensure data is present before we launch the next task, ie. transformation task.

This will avoid a 'hard' error in EBI and allow the business process script to gracefully end.





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.