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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: