Agila & Groovy

August 16, 2005

The BPM engine in Apache Agila now supports Groovy nodes, which is really neat as you can use Groovy to develop custom tasks for your workflows. You get all the usual benefits of Groovy of course, and in particular you can use Groovy markup builders to generate the form/page for the task that the HTTPRenderer (returned by the TaskActivity) generates.

In the process definition XML, the following syntax clues Agila into the fact that the node is a Groovy script:

There is an example Groovy task at

src/test-resources/node/ExampleGroovyTask.groovy

under the bpm module that is both Task and Renderer etc. to get you started.

Thanks to Chris Lim for taking a look at this contribution and commiting it so quickly.

Advertisements