1 Reply Latest reply on Jan 12, 2011 11:10 PM by passiabhijit

    Timer error

    passiabhijit Newbie

      Hi

       

      I am trying to out a timer around ESBActionHandlerNode, but the transition never happens

      Here is the code

      <node name="FetchUserEsb">

              <action class="org.jboss.soa.esb.services.jbpm.actionhandlers.EsbActionHandler">

              <esbCategoryName>FetchUserAlfrescoCat</esbCategoryName>

               <esbServiceName>FetchUserAlfrescoServ</esbServiceName>

               <exceptionTransition>exception</exceptionTransition>

               <bpmToEsbVars/>

               <esbToBpmVars>

                  <mapping esb="BODY_CONTENT" bpm="userList" />

              </esbToBpmVars>

              </action>

              <timer name='timeout' duedate='10 seconds' transition='TimeOut' >

       

               </timer>

              <transition to="MailSetUpNode" name="MailSetUpNode"></transition>

              <transition to="ExceptionNode" name="exception"></transition>

              <transition to="TimeOut" name="TimeOut"></transition>

          </node>

       

      can anyone tell me whats wrong here?

       

      thanks..

        • 1. Timer error
          passiabhijit Newbie

          it worked out using event, following is the code that worked for me

          <node name="FetchUserEsb">

                  <event type="node-enter">

                      <create-timer duedate="10 seconds" transition="TimeOut"></create-timer>

                  </event>

                  <action

                      class="org.jboss.soa.esb.services.jbpm.actionhandlers.EsbActionHandler">

                      <esbCategoryName>FetchUserAlfrescoCat</esbCategoryName>

                      <esbServiceName>FetchUserAlfrescoServ</esbServiceName>

                      <exceptionTransition>exception</exceptionTransition>

                      <bpmToEsbVars />

                      <esbToBpmVars>

                          <mapping esb="BODY_CONTENT" bpm="userList" />

                      </esbToBpmVars>

                  </action>

                  <transition to="MailSetUpNode" name="MailSetUpNode"></transition>

                  <transition to="ExceptionNode" name="exception"></transition>

                  <transition to="TimeOut" name="TimeOut"></transition>

              </node>

           

           

          Don't know why previous didnt work, it just threw an error after the time completed

          the error was : ERROR [org.jboss.soa.esb.services.jbpm.integration.job.ExecuteTimerCommand] Timer retry count exceeded for timer 2358

           

          If anyone knows about the error, do let me know.