[jboss-user] [jBPM] - Starting a BusinessProcess out of a PageFlow

Heri Bender do-not-reply at jboss.com
Wed May 19 04:29:25 EDT 2010

Heri Bender [http://community.jboss.org/people/hbender] created the discussion

"Starting a BusinessProcess out of a PageFlow"

To view the discussion, visit: http://community.jboss.org/message/543764#543764


I have a pageflow definition, working, no problem. But one event within one page/view (in fact a timeout event) should lead to a new persisted business process instance, because now a person with another role must look at this issue. The original pageflow, if it follows the happy world path, does not need to be a persisted business process, it's just a ordinary pageflow: started, executed and terminated by one employee within one conversation.

I can of course start the new business process within an action handler of the corresponding transition and then end the pageflow normally. But I want to show the transition to the new business process also in the visual pageflow picture, with an own node.
I tried to use the ProcessState node of the page flow workbench:

<process-state name="UnlockTokenProcess">
        <sub-process name="pdUnlockToken"></sub-process>
              <action expression="#{scNextPukRetrieval.startUnlockProcess}" />
        <transition to="endPage" name="businessProcessCreated">

But at runtime, the Jbpm.class looks for another pageflow with the name pdUnlockToken and does not find one, although there is a business process definition with this name in the DB. How can I achieve that the jBPM framework can find business processes out from a page flow node??



Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100519/522788fc/attachment.html 

More information about the jboss-user mailing list