AnsweredAssumed Answered

Timer Question

Question asked by bhupendrabjain on May 8, 2014
Latest reply on May 9, 2014 by bhupendrabjain
I am new to Activiti so forgive me if this is a stupid question

I am creating an encoding workflow so after I send a request to do encoding I need to check the status periodically and based on the status I need to either move to the next step in the workflow or terminate the workflow . How can I achieve this in Activiti . I have been using JBPM where I do the following to achieve the above functionality but not sure how can i do the same in Activiti

<state name="Wait for Callback">
      <timer name="Wait for Callback Action" duedate="15 minutes"
         repeat="10 minute">
            class='com.mtvi.mediabus.egvtranscode.action.MediaSiloUXStatusTimerAction' />
      <transition to="Download Files" name="Download_Files"></transition>
      <transition to="exception" name="exception"></transition>

Can someone help me with this ?