hi all I'm not sure it is a trouble in Axon Ivy or may be i'm wrong in this situation, as my understanding about task (reference to Documentation), the task state will be changed when a user open it. But somehow it's quite strange when i use UserTask (new element, with embedded HtmlUserDialog). When user open that task then it open embedded HtmlUserDialog,but the state was not changed to RESUMED as i expect. so i can't prevent another user from opening it (i want just one user can open a same task in the same time), Everything normal in case i use normal task switch element. I describe task state as below picture (in my investigation): Is it the way we handle for UserTask element? or do we have any way to know the task is already opened or not? Here is the demo (Axon ivy 6.3) Thanks asked 08.11.2016 at 13:02 trungdv |
Answer for 6.5.0 and 6.0.6 (LTS) The state for normal HtmlUserDialog is now automatically changed to RESUMED as soon as a user picks up the task. The state SUSPENDED is only kept for UserTask that open an OfflineUserDialog. See also the updated designer documentation: http://developer.axonivy.com/doc/latest/DesignerGuideHtml/ivy.concepts.html#d5e17755 This behaviour change was introduced with 6.0.6 and the sprint release 6.4.1-S18 Workaround for 6.0.5 and 6.4.0 I've an work-around solution for this problem like: In this solution, we introduce a Passthrough HtmlUserDialog then use it as embedded dialog on User Task, for the main page we move it out. The Passthrought dialog just simple to skip auto dialog of User Task and user will not see anything strange when opening the task. Here is its implementation (just simply construct then destroy immediately): Now, the task state is RESUMED when user open Main Page. Thanks
link
This answer is marked "community wiki".
answered 09.11.2016 at 09:43 trungdv |
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 08.11.2016 at 13:02
Seen: 2,800 times
Last updated: 05.12.2016 at 02:00