I have a UserTask that can optionally be cancelled by firing a Signal. When the Signal is actually received the Task seems to change its Priority from HIGH to LOW. Why does that happen?

alt text

asked 30.07.2018 at 09:10

SupportIvyTeam's gravatar image

SupportIvyTeam ♦♦
accept rate: 77%

SignalBoundaries on a UserTask are normally used to Expire a Task on an exceptional path. So it is a feature, that the state of this Task can be adjusted by configuring an expiry Priority.

However if you don't like that behaviour you can change the priority back to its original state within the SignalBoundary event that handles the signal:

List<ITask> destroyed = signal.getDestroyedTasks();
ITask last = destroyed.get(destroyed.size()-1);

alt text


answered 30.07.2018 at 09:13

Reguel%20Wermelinger's gravatar image

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

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: 30.07.2018 at 09:10

Seen: 1,649 times

Last updated: 30.07.2018 at 09:13