Ruleset Division Action Error

Ruleset Division Action Error


Scenario:

In outbound ruleset we are trying to perform division.

Issue:

The divisor is zero. This causes a transformation error.

EXTOL error message:


Step #3: Execute Transformation - Single Output

Starting Transform
Starting Transformation Engine
Executing "940.Outbound.CHRobinson / x12004010.PRD"
Transformation ended in error, please refer to the information on the Translation Messages Tab.
Ending Transformation Engine
Completed Task.

===============

Message ID: 71
Primary: Error executing rule reference 224, state table entry "156" for OpCode "(4)Division".
Secondary:
Category: Engine
Type: Soft_Error (overridden from Hard_Error)
Process ID: 62705
Issued by: com.extol.engines.Builtins Msg file: messages.emf
Issued on: Friday July 19, 2013 4:19:03.173 PM EDT


Resolution:

Review rule reference 224 of the ruleset. We would be looking at the input parameters of the division action. One of the input parameters might be zero.



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.