Hi everybody,
I have a task node (it waits for an external system) with a timer defined on it.
If the timer fires before the user completes the work, I want to cancel the task; on the other hand, if the user finishes the work before the timer fires, I want to end the task.
How can I accomplish this?. I know wich methods from the API to use, but I don´t know WHERE to use them... Handler?, TaskController?, EventListener?... Which one is the best approach?.
Thanks in advance.
As you said, i think you better go for EventListener as you are using timer and
after some event it should fire as you told.