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&...]