7.10. Configuring a new Process Instance in JBPM

  1. The configuration for this action in the jboss-exb.xml looks like this:
    <action name="create_new_process_instance" class="org.jboss.soa.esb.services.jbpm.actions.BpmProcessor">
    	<property name="command" value="StartProcessInstanceCommand" />
    	<property name="process-definition-name" value="processDefinition2"/>
    	<property name="actor" value="FrankSinatra"/>	
    	<property name="esbToBpmVars">
    		<!-- esb-name maps to getBody().get("eVar1") -->
    		<mapping esb="eVar1" bpm="counter" default="45" />
    		<mapping esb="BODY_CONTENT" bpm="theBody" />
    	</property>
    </action>
    
  2. You are required to input these two attributes:
    1. name
      Use any value for this name attribute, as long as it is unique in the action pipeline .
    2. class
      Always set this attribute to org.jboss.soa.esb.services.jbpm.actions.BpmProcessor .
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.