"I am just not able to see that transition from one state to next state"
How are you looking for it? Are you querying the database? You can use the query below to check the status of non-completed processes: > This will show one row for each instance + token + context variable Keep in mind that you will need to begin and commit a transaction to persist the process instance to the database. Also be aware that since the transaction is "outside" jBPM, state is not saved until jBPM returns which is either at completion of the entire process or it goes into a wait state. ie: jBPM does NOT persist state as it moves within itself, unless you make it thru custom code ;-). select def.id_ as def_id, def.name_ as def_name, def.version_ as def_version, instance.id_ as instance_id, instance.start_ as instance_start, instance.end_ as instance_end, token.id_ as token_id, token.nodeenter_ as token_enter, node.id_ as node_id, node.name_ as node_name, node.class_ as name_class, var.name_ as var_name, var.stringvalue_ as var_value from jbpm_processinstance instance, jbpm_processdefinition def, jbpm_token token left outer join jbpm_variableinstance var on token.id_ = var.token_, jbpm_node node where instance.end_ is null and instance.processdefinition_ = def.id_ and instance.roottoken_ = token.id_ and token.node_ = node.id_ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912417#3912417 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3912417 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user