[jboss-user] [jBPM] New message: "How to differentiate State and Task"

Karthikeyan Mohan do-not-reply at jboss.com
Tue Mar 16 05:00:39 EDT 2010

User development,

A new message was posted in the thread "How to differentiate State and Task":


Author  : Karthikeyan Mohan
Profile : http://community.jboss.org/people/kmsk_1318

I am new to JBPM. Iam using JBPM 4.3. I have read userguide and tried some of your test cases examples given.
But still i have some doubts regarding Jbpm State and Task.
 1. Can a process definition contains both state and task.
<process name="TaskAssignee" xmlns="http://jbpm.org/4.3/jpdl">
    <transition to="review" />
  <task name="review" 
     <transition to="wait" />
  <state name="wait for response">
    <transition name="accept" to="Submit Document"/>
    <transition name="reject" to="Try Again"/>
  <state name="Submit Document"/>
  <state name="Try Again"/>
 2. If so, how can i know that the current execution is in state or task so that
i'll call their corresponding api's(ExecutionService's signalByExecution or TaskService's completeTask) to perform transition.
 Please guide me if anything is wrong here.
Thanks & Regards


To reply to this message visit the message page: http://community.jboss.org/message/532184#532184

More information about the jboss-user mailing list