Invoking IS service using task event action

Hi,

we have a requirement where the task should invoke a IS service if the task is not accepted in 24 hours. We tried this using task events. we have set event type as “queued” and set the condition as

(#{System.currentDateTime} - ( 86400000)) >
#{currentTask.taskInfo.createdDate}

May be a solution could be:

  • Put an expiration date for the task
  • On the event of the expiration set a value of a field saying “expired” and complete the task
  • On the process flow, if the field is “expired” then execute the iS Service

Does it makes sense?