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

vhsvuong
11556
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.

link

answered 13.11.2015 at 15:26

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
8.5k21851
accept rate: 69%

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.

link

answered 13.11.2015 at 16:28

Reto%20Weiss's gravatar image

Reto Weiss ♦♦
4.9k182656
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

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:

×66

Asked: 13.11.2015 at 08:02

Seen: 934 times

Last updated: 13.11.2015 at 16:28