|
|
Tuesday, 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:
<node id="3" type="activity" class="groovy:node/ExampleGroovyTask.groovy" display_name="Example Groovy Task">
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.
3:11:40 PM
|
|
|
|
© Copyright
2006
David Black.
Last update:
6/13/2006; 1:22:43 PM.
This theme is based on the SoundWaves
(blue) Manila theme. |
|
| August 2005 |
| Sun |
Mon |
Tue |
Wed |
Thu |
Fri |
Sat |
| |
1 |
2 |
3 |
4 |
5 |
6 |
| 7 |
8 |
9 |
10 |
11 |
12 |
13 |
| 14 |
15 |
16 |
17 |
18 |
19 |
20 |
| 21 |
22 |
23 |
24 |
25 |
26 |
27 |
| 28 |
29 |
30 |
31 |
|
|
|
| Jun Apr |
|