JBoss Community

How to use task and state in jbpm 4.4

created by Ayusman Dikshit in jBPM - View the full discussion

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

Start a new discussion in jBPM at Community