RoRLearn.com Home News Articles Tutorials Resources Books Forums
 

Home>News>

RubyForge: openwferu-0.9.7

OpenWFE-ru is an open source Ruby workflow / bpm engine.

This release includes many changes and improvements. The three most importants are, the KotobaWfidGenerator, the process definition 'parameter' tag and two security switches.

The KotobaWfidGenerator is now the default OpenWFEru engine workflow instance id generator it generates wfids like 20070323-dugebagama or 20070323-dugawajota that should be a bit easier to read than plain integer wfids.
A basic UuidWfidGenerator is available as well.
See http://jmettraux.wordpress.com/2007/03/22/workflow-instance-id/ for more details.

'parameter' tags may be placed at the beginning of process definitions, if present, the engine will ensure that the workitem fields described in those tags are present and yield a correct value, else it will raise an exception and the flow will not have been launched.
For more information, read at http://openwferu.rubyforge.org/expressions.html under 'parameter'.

Two security switches have been introduced, by default, they are turned off.
:ruby_eval_allowed, when set to true, allows the evaluation of Ruby code contained inside of a process definition (the 'reval' expression or the ${ruby:...} notation).
:remote_definitions_allowed has to be set to true for definitions pointed at via an URL (http://process.server.org/defs/def_x.xml) to be loaded and executed successfully. URL pointing to local (file) resources are always allowed.

To turn the two switches 'on' :

engine.application_context[:ruby_eval_allowed] = true
engine.application_context[:remote_definitions_allowed] = true


Thanks particularly to Patrice Cappelaere (http://www.geobliki.com/) who suggested and helped specify the 'parameter' feature.






 
Site Copyright © 2006-2007 RoRLearn.com All rights reserved. Privacy Policy | About Us | Contact Us | Site Map