Questions Tagged With configurationhttps://answers.axonivy.com/tags/configuration/?type=rss&user=Jailson%20Britoquestions tagged <span class="tag">configuration</span>enTue, 07 Feb 2017 18:32:50 -0500How to avoid the Error Http Status Code 409?https://answers.axonivy.com/questions/2427/how-to-avoid-the-error-http-status-code-409<p>Scenario:</p> <ol> <li>user1 authenticates and starts a task;</li> <li>Then, user1 closes the browser window with the task open;</li> <li>Finally, authenticates again and try to do the task.</li> </ol> <p>Then, it throw the Error: "Error Http Status Code 409", ConflictRequestException: "You cannot work on the task '305 - User 1 - Task 1 - ' with the identifier '41' because the user 'user1' is currently working on it.". </p> <p>The simulation doesn't start before the error, so I am wondering if it could be just a configuration on Axon Ivy. My Question is <strong>How to avoid the Error Http Status Code 409?</strong> </p> <p>Any help is appreciated.</p> <p>Notes: </p> <ul> <li>In my user application, the tasks are showing using the approach explained in <a href="http://answers.axonivy.com/questions/2410/findworktasks-never-returns-tasks-in-taskstate-resumed-state">findWorkTasks() never returns tasks in TaskState.RESUMED state</a>;</li> <li>Since it's not reliable in all browsers, I am avoiding to handle the window closing: <a href="http://answers.axonivy.com/questions/2406/detecting-when-the-user-closes-the-window-or-tab-of-the-browser-in-a-html-dialog">Detecting when the user closes the window or tab of the browser in a Html Dialog</a>;</li> <li>It seems that the Portal handles the action differently for RESUMED and SUSPENDED tasks, that's my plan B;</li> <li>Engine Version 6.0.5;</li> </ul>Jailson BritoTue, 07 Feb 2017 18:32:50 -0500https://answers.axonivy.com/questions/2427/how-to-avoid-the-error-http-status-code-409tasklisterror-handlingconfigurationtask