[daisy] Configuring workflow tasks programmatically

Ross Gardler rgardler at apache.org
Sun Apr 20 23:10:19 CEST 2008


I want to be able to configure various workflow tasks programmatically
using Javascript.

In my use case I have a "monthlyTeamUpdate" process. This has a number
of tasks such as  review each team member, write internal monthly review
document, write external monthly review document etc.

There are multiple teams and the composition of each team varies
reasonably frequently.

Focussing on the team member review task I can think of two approaches
to defining the workflow:

a) create a workflow process that has separate task nodes for each team
member. Each task node would have tasks to define the review process
(e.g. "prepare for review meeting", "get feedback on active tasks", "f2f
review meeting", "set new objectives" etc.)

b) create a workflow process that has a single task node for each step
in the individual reviews (as outlined above), each of which would have
a task for each team member

However, since there are multiple teams and the composition of the teams
varies I'd like to add the tasks within the task node programatically,
otherwise I have to redefine the workflow everytime a team changes in
some way.

Problem is, I have no idea how to go about this and find nothing in the
docs that helps. Can it be done this way? Any chance of a pointer about
how to do this?

I promise to document this in the wiki (about time I wrote in there
again) if your help enables me to figure it out.

Ross




More information about the daisy mailing list