Hy there, In our solution there is sometimes the problem that the Data from Task A overwirte the Data from Task B. This happen if we open the Task parallel and there is a ria broadcast Event. The big problem is now to find out which event causes the bug. Is there a way to track, log or query the happend Broadcasts for a Task or a Case or over all? kind regards Thomas Wirz asked 14.07.2017 at 04:22 Thomas Wirz |
There is a logger which logs on DEBUG when a event gets prepared to be fired on the class I can't say if this log output will help to find the corresponding event source. Maybe a own log-output will give clearer results. answered 14.07.2017 at 07:49 Flavio Sadeghi ♦♦ |
That's what I'm looking for. Thank you. For other users looking for this. Here is my actual log4j config: Logger
Appender
answered 17.07.2017 at 04:25 Thomas Wirz |
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 14.07.2017 at 04:22
Seen: 2,449 times
Last updated: 17.07.2017 at 04:25
Hello Thomas Wirz. Technically it is not possible to start the same task parallel. So, which data do you mean. Data in a Database? However, a possible solution could be to add a flag on the broadcasting event (e.g. 'handled'). Handlers do their work only if the flag is false. The first handler sets the flag to true so that all others do not process its logic.
Thank you for your answer.
We do not open one task parallel two times. We open different Tasks (Task A and Task B). After they are both open the user for example press a Button and in the Dialog procces logic the Broadcast event will be fired. Both Tasks catches the event. The data in the Broadcastevent will be written to our Database for both Tasks. So, one of the Tasks is now linked to wrong data.
We allready got a solution to solve the problem. But we don't know which Broadcast in the solution causes the Problem. Therefore my Question how get information about which Broadcast was fired when, for which tasks?
kind regards Thomas