tags:

views:

52

answers:

0

Hi,

I have written a jbpm workflow which calls jbpm timer in a state as below:

<state name='LoginReminderScheduler'>
    <timer name="userLoginReminder" duedate="10 seconds" repeat="yes" >
        <action class="com.jindal.km.jbpm.NotifyAndReminderWorkflowActionHandler"/>
    </timer>    
    <transition name="toEnd" to="end"></transition>
</state>

Now once time gets started, it does not stop & continously repeat itself after 10 seconds.

But i want it to be stopped after say 5 times repetition.

Does anybody has idea on how to do it?

Thanks for your help in advance.