[jboss-user] [jBPM] - Re: JBPM Persistence Error

Jason J do-not-reply at jboss.com
Mon Oct 29 23:03:34 EDT 2012


Jason J [https://community.jboss.org/people/jasonjho] created the discussion

"Re: JBPM Persistence Error"

To view the discussion, visit: https://community.jboss.org/message/772892#772892

--------------------------------------------------------------
Hi Kris,

I have a workflow that should be persisted at a wait-state (safe point) that uses an intermediateCatchEvent via conditionalExpression.  When the process is reloaded, my understanding is the process instance will continue where it left off - as you mentioned.  

However, the workflow is designed so that a drools rule is what actually unblocks the blocking conditional wait step.

ex: 

<intermediateCatchEvent id="_6" name="Wait for Document Approval" >
      <conditionalEventDefinition>
            MyDocument(status == "Approved")
      </...>
</...>

then in a rule defined in the same session:

rule X
when:
       ....
then:
       $myDocument.setStatus("Approved")


I see the rule firing, but the workflow is never advanced out of the block state.

Any explanation?
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[https://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/20121029/1623b76e/attachment-0001.html 


More information about the jboss-user mailing list