[jboss-user] [jBPM] - [Q] JBPM 4.3 to 4.4 Upgrade Issue

Ken Hoying do-not-reply at jboss.com
Mon Aug 2 07:17:55 EDT 2010

Ken Hoying [http://community.jboss.org/people/khoying] replied to the discussion

"[Q] JBPM 4.3 to 4.4 Upgrade Issue"

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

Thank you for the assistance.

In the expression below,  jbpmDecideHasSupplierApprover is a Spring bean.  We have integrated Spring with our JBPM inplementation.

<decision g="901,209,48,48" name="decision.supplierInitApprover">
      <handler expr="#{jbpmDecideHasSupplierApprover}"/>

      <transition g="-50,-18" name="result.approver" to="state.supplierInitApproval"/>      
      <transition g="30,-80" name="result.noApprover" to="state.memberReview">

We had difficulty getting JBPM to see our entire Spring context.  Our Spring configuration is broken into several files and for some reason JBPM will only see the configuration and the beans in the file that it was created or loaded in.

As a result, We made a small extension to the Juel Script Engine and the configuration in order to expose out entire Spring context.  This all worked great until we upgraded.

     <script-manager default-expression-language="juel" default-script-language="juel"
                        read-contexts="execution, environment, process-engine, spring, springSca" write-context="">
              <script-language  name="juel" factory="com.premierinc.sca.agreement.util.ScaJuelScriptEngineFactory" />

Any help would be GREATLY appreciated!  We could really use the new API features of 4.4 to be able to determine the transitions dynamically.  However, if we have to give up Spring intergration then it is no longer viable.



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/20100802/0a78f4b5/attachment-0001.html 

More information about the jboss-user mailing list