2 Replies Latest reply on Nov 30, 2011 9:20 AM by kuptservol

    Simple jbpm process invokation from JBOSS ESB

    kuptservol

      Hello.

       

      I want simple start jbpm process from Jboss esb 4.10 with parameters on start without  requests and further interraction with esb(independently).  When  i start new process, like this:

      <actions mep="OneWay">
                <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="process"/> 
                  </action>
       </actions>
      
      

      In processdifinition i have non-esb actions:

      <process-definition  xmlns="urn:jbpm.org:jpdl-3.2"  name="process">
       
        <start-state name="start">
       <transition to="Fork AD Zimbra"></transition>
       </start-state>
      
        <node name="ping AD">
       <action class="ru.neoflex.jboss.esb.project.new_user_generation.ad.GetLdapContext" async="true" name="GetLdapContext"></action>
       <transition to="decision1"></transition>
       </node>
      
       <fork name="Fork AD Zimbra">
       <transition to="ping AD"></transition>
       </fork>
      
       <decision name="decision1">
       <handler config-type="configuration-property" class="ru.neoflex.jboss.esb.project.new_user_generation.ad.DecisionHandler"></handler>
       <transition name="gofurther" to="end"></transition>
       <transition to="ping AD" name="retry"></transition>
       <transition to="mail-node1" name="mailerror"></transition>
       </decision>
      
       <mail-node name="mail-node1" to="*@*.com">
       <subject>
       Error creating new AD User
       </subject>
       <text>
       Can't get LDAP Context for Active Directory
       </text>
       </mail-node>
      
      
       <end-state name="end"></end-state>
      
      </process-definition>
      
      

       

      And process goes to the first node and stops. How can i start(signal) other nodes in processing pipeline to the end state without EsbNotifier's?