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

    Simple jbpm process invokation from JBOSS ESB

    Sergey Kuptsov Newbie



      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"
                          <property name="command" value="StartProcessInstanceCommand" />
                          <property name="process-definition-name" value="process"/> 

      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>
        <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>
       <fork name="Fork AD Zimbra">
       <transition to="ping AD"></transition>
       <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>
       <mail-node name="mail-node1" to="*@*.com">
       Error creating new AD User
       Can't get LDAP Context for Active Directory
       <end-state name="end"></end-state>


      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?