processi

about processes and engines

ruby decision table quickstart

Update : there is a new blog post covering this Ruby decision table subject, with updated information.

The information in this current blog post is a bit out of date.


At first, install the necessary OpenWFEru gems :

sudo gem install openwferu openwferu-extras

Here is the quickstart :

(code here).

It should output something like :

weather : raining, month : december
=> take umbrella ? yes

weather : sunny, month : december
=> take umbrella ? no

weather : cloudy, month : may
=> take umbrella ? yes

If you take a closer look at the code, you’ll see that it taps directly the CSV view of a Google Spreadsheet. Quite handy.

More documentation *soon* on this page about Decision Tables.

Update : Adapted the head of the post, sudo gem install openwferu openwferu-extras will just work.

Written by John Mettraux

August 6, 2007 at 8:35 am

Posted in bpm, csv, openwferu, ruby, rules, workflow

One Response

Subscribe to comments with RSS.

  1. […] and ‘accumulate‘ into OpenWFEru’s Ruby CSV decision tables (see that post for an introduction to […]


Comments are closed.

%d bloggers like this: