Hi everyone So I have a process with a User Task that has a signal boundary event that listens to a certain signal X. After the user task is finished I check some values and depending on that I want to send the same signal X. See the image below: But when that signal is sent I get the following exception:
I uploaded a demo project here: https://drive.google.com/file/d/0B3V8Sh7Fl7FXR3dzMFhzVzJlTEk/view?usp=sharing Thanks in advance asked 05.07.2016 at 14:08 Lars Tuchel |
This exception can happen because of different reasons. Mainly when the current task has been destroyed by a signal. In this case the signal to destroy a task is sent in the same task, so the task did destroy itself. This is the correct behaviour because the listening boundary Signal Event is also active when the task is in state RESUMED. As a workaround you can place a task switch element before the sending script element and configure the task switch to execute the task as system. So the task where the boundary signal event is listening on is in state DONE and therefore not in scope of the sending signal event. answered 13.07.2016 at 10:03 Flavio Sadeghi ♦♦ |
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 05.07.2016 at 14:08
Seen: 6,047 times
Last updated: 13.07.2016 at 10:03
Does it work if you remove the Task-End-Event after the Signal-Boundary-Event?
No, still the same exception