[jboss-user] [jBPM] - How to use task and state in jbpm 4.4

Ayusman Dikshit do-not-reply at jboss.com
Tue May 10 03:52:49 EDT 2011


Ayusman Dikshit [http://community.jboss.org/people/ayusman_dikshit] created the discussion

"How to use task and state in jbpm 4.4"

To view the discussion, visit: http://community.jboss.org/message/604377#604377

--------------------------------------------------------------
Hi All,I am trying to use jbpm 4.4 for a workflow solution where, the UI is provided by a web application.Here I am trying to assign a certain task to a user and expect him/her to perform certain action on it...
like "Approve", "Reject" and "Approve with remarks"..

All of these actions need to have separate processing.
What I am not able to understand is,
should I use a task element :   
OR 
a state (wait state) element:   

Idea is, I will let the user click on the  "Approve", "Reject" and "Approve with remarks" buttons in an jsp page and I want to convey this to the process engine, through jbpm APIs. When I use a task element, how can I signal the execution to move forward and take a path like, "Approve" or "Reject"

Need some help/pointers on this.


TIA
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/604377#604377]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110510/702d81fd/attachment.html 


More information about the jboss-user mailing list