Hi Ivy Team

According to the published document, the User Task is specified

The User Task element calls a User Dialog in a new Task. Thus, it combines the behavior of a Task Switch Event and a User Dialog.

Given the following process:

alt text

If I run StartTaskSwitchEvent, a new task will be created. If I run the task, the MainDialog will be opened. At this point, the TaskState of the ITask is already RESUMED.

However, if I run StartUserTask, a new task will be created. If I run the task, the MainDialog will be opened. The strange thing is, the TaskState is still SUSPENDED. Only if I exit the MainDialog and reach the next step (SecondDialog), its state is updated to RESUMED.

Could you explain this behavior?

P.S: Tested on Axon.ivy Designer 6.2.0.

asked 02.08.2016 at 12:45

Genzer%20Hawker's gravatar image

Genzer Hawker
(suspended)
accept rate: 66%

edited 02.08.2016 at 13:04


See the documentaion about the workflow states for more info.

It is designed that if you take a task from an UserTask also another user can do the same unless the task is finised. It's now more like optimisic locking. Because with the task switch we had the problem that many users just clicked on a task and then not finished it, but for the time until the session of this user ended the task was not visible to anybody.

link

answered 03.08.2016 at 10:52

Christian%20Strebel's gravatar image

Christian St... ♦
3.2k31338
accept rate: 88%

edited 03.08.2016 at 11:20

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
×4
×1

Asked: 02.08.2016 at 12:45

Seen: 2,319 times

Last updated: 03.08.2016 at 11:20