Questions asked by Lam Nguyenhttps://answers.axonivy.com/questions/asked-by/894/lam-nguyen/?type=rssQuestions asked by <a href="/users/894/lam-nguyen" >Lam Nguyen</a>enMon, 22 Jan 2018 05:12:12 -0500EnvironmentNotAvailableException when using IWorkflowListener.https://answers.axonivy.com/questions/3071/environmentnotavailableexception-when-using-iworkflowlistener<p>Hi All,</p> <p>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).</p> <p>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.</p> <p>My questions are:</p> <p>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?</p> <p>Thanks, Lam Nguyen</p>Lam NguyenMon, 22 Jan 2018 05:12:12 -0500https://answers.axonivy.com/questions/3071/environmentnotavailableexception-when-using-iworkflowlistenertask-stateDetect changes of users or roleshttps://answers.axonivy.com/questions/3066/detect-changes-of-users-or-roles<p>Hi all,</p> <p>We are trying to detect the changes from roles, users with any actions: create/update/delete. Is there any way to detect if users or roles are changed?</p> <p>We find out the interface SynchronizationListener. Perhaps, it could handle the case but don't know how to use it.</p> <p>Thanks a lot.</p>Lam NguyenWed, 17 Jan 2018 02:55:17 -0500https://answers.axonivy.com/questions/3066/detect-changes-of-users-or-rolesivyuser