[jboss-user] [JBoss Seam] - [Beginner] launching a non-predefined workflow. Is my approa

jbaton do-not-reply at jboss.com
Fri Jan 4 05:58:10 EST 2008


Hi all,

I'm new to Seam+Jbpm.

I have to start a simple workflow (a few nodes long), that contains a task for each user that the workflow initiator has chosen amongst a list of users.
All I have is their username. The number of selected users is variable.

I thought of generating the Jpdl definition through Freemarker. 
The N tasks are after a fork.  

The general form of my workflow is, (for 3 users) 

  | Start
  | |
  | Node1
  | |
  | fork
  | |               |   |
  | user1Task,user2Task,user3Task
  | |               |   |
  | join
  | |
  | node2
  | |
  | end
  | 

Then, I register the definition and create an instance.



I noticed that unfortunately, Freemarker's directives, based on the sharp #sign collide with the JSF-EL and then, it's not possible to use JSF beans methods as actions but only ActionHandlers (unless I replace the JSFEL before and after the FM processing).


Is my approach correct ? It seems a bit complicated
What is the simple way to share data between ActionHandlers ?

Thank you


Jerome

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116981#4116981

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116981



More information about the jboss-user mailing list