开发者

How to use task and state in jbpm 4.4

开发者 https://www.devze.com 2023-03-04 23:22 出处:网络
I am trying to use jbpm 4.4 for a workflow solution where, the UI is provided by a web application. Here I a开发者_JAVA百科m trying to assign a certain task to a user and expect him/her to perform cer

I am trying to use jbpm 4.4 for a workflow solution where, the UI is provided by a web application. Here I a开发者_JAVA百科m 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.

Need some help/pointers on this.

TIA


As @Rodrigo has mentioned, need to use Task element. This answers the question.

0

精彩评论

暂无评论...
验证码 换一张
取 消