JBoss Community

Re: Timer error

created by abhijit passi in jBPM Development - View the full discussion

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.

Reply to this message by going to Community

Start a new discussion in jBPM Development at Community