Hi all,

When I started the task in the task list. I often got the exception:

RequestException: The task with identifier '846' was already finished or does not exist (Session identifier is '45').

But I want to catch this exception and show a friendly dialog to the user.

I am looking forward to hearing any ideas from you

Vuong Vu, Vision team

asked 13.11.2015 at 08:02

vhsvuong's gravatar image

accept rate: 0%

Instead of linking the task directly you could execute dialog logic when a user tries to resume a task. Within this dialog logic you check if the task still has the correct state. (E.g. by using the workflow api: TaskQuery.create()....) If the task state is correct, you redirect to the real task-pickup URL, otherwise you show a nice dialog, that somebodey else finished the task.


answered 13.11.2015 at 15:26

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
accept rate: 70%

With Axon.ivy 6.0 there will be a better error messsage for this problem. If the task was already done by another person the name of the person is visible in the error page.


answered 13.11.2015 at 16:28

Reto%20Weiss's gravatar image

Reto Weiss ♦♦
accept rate: 74%

Your answer
toggle preview

Follow this question

By Email:

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



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



Asked: 13.11.2015 at 08:02

Seen: 1,065 times

Last updated: 13.11.2015 at 16:28