[jboss-user] [jBPM Users] - Re: JBPM4: How to find leaving transitions of an execution

nilspreusker do-not-reply at jboss.com
Thu Oct 29 09:14:26 EDT 2009


Hi, I just voted:)

Regarding your doubts:
anonymous wrote : when the process arrives at a certaion point where a node has more than one outgoing transition, the user actually needs to make a choise which transition to take. So I need to display all possible transitions to the user.
  | 
  | I'm still not sure if I'm running in the wrong direction, because this seems to obvious to me... 

I think you are going in exactly the right direction. As I understand it (correct me if I'm wrong!), information about how the user can interact with the process instance in jBPM 4 is currently meant to be provided with task forms. A reference implementation exists for the GWT console. However, I totally agree with what Sebastian stated earlier:

anonymous wrote : If you want the user to make this decision you need this information and since it is supplied by the process definition it should be accessible trough the API.

For use cases where no user input - other than a decision - is required, this would provide a very nice way to create dynamic user interfaces without the need for a custom task form implementation.

And while we're at it, wouldn't it also be nice to be able to query the process instance for the process variables that will be required after a transition? ...but now I'm getting ahead of myself:)

Anyway, I'm glad to see this discussion here!

Cheers, Nils

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

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



More information about the jboss-user mailing list