0
1

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): alt text

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's gravatar image

trungdv
(suspended)
accept rate: 52%

edited 08.11.2016 at 13:15


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:

alt text 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): alt text 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's gravatar image

trungdv
(suspended)
accept rate: 52%

edited 05.12.2016 at 02:00

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×68

Asked: 08.11.2016 at 13:02

Seen: 2,709 times

Last updated: 05.12.2016 at 02:00