EnvironmentNotAvailableException when using IWorkflowListener.
Hi All,
We are trying to detect expired tasks by implementing IWorkflowListener. We have same way to detect newly created task, every thing is working fine with create task listener but we are facing environment not available with expired task listener (both listeners are accessing the Ivy environment).
We detects newly created task by checking status WorkflowEventKind.EVENT_CREATE_TASK_BY_JOINED_TASKS and expired task is WorkflowEventKind.EVENT_CHANGE_TASK_TIMEOUT_TIMESTAMP.
My questions are:
What is the different of those states (WorkflowEventKind) when it's fired?
Is there any way to access Ivy environment outside request? for example ivy global variable?
Thanks,
Lam Nguyen