camunda-cockpit-plugins icon indicating copy to clipboard operation
camunda-cockpit-plugins copied to clipboard

Bug - Incorrect Execution Path Shown

Open CharlesIrvineKC opened this issue 2 years ago • 5 comments

In the diagram below notice that the "No" path is annotated as the execution path taken. Also, notice that the flow out of "CompleteAuth" is annotated as the execution path. In fact, the actual execution path out of the gate is the unlabeled flow. The condition on the "No" path is ${ ! executeCompleteAuth } and on the unlabeled flow the condition is ${ executeCompleteAuth }. The value of executeCompleteAuth is true. Let me know if you need any additional information.

Screen Shot 2022-06-01 at 9 31 34 AM

CharlesIrvineKC avatar Jun 01 '22 15:06 CharlesIrvineKC

@ChuckIrvine Thanks for the report.

Does it look same or different on Chrome vs Firefox?

datakurre avatar Jun 01 '22 18:06 datakurre

Same on both.

CharlesIrvineKC avatar Jun 01 '22 19:06 CharlesIrvineKC

I've been experimenting with this and it seems like the problem is intermittent. With the attached project zip file you should be able to duplicate the problem.

  1. Build and run the project.
  2. In the TaskList, start and run RulesCheckSubProcessV2.
  3. Select only Do Auth Complete checkbox and press the Start button.
  4. Repeat step 3 again at least 10 times.
  5. Go into the Cockpit and inspect all of the completed instances. Some of them will probably have the problem and some won't.

I hope you will be able to duplicate the problem, but you never know with these intermittent problems. If you aren't able to, I can run some queries against one of the instances that has the problem if you want.

cmmn-example.zip

CharlesIrvineKC avatar Jun 02 '22 23:06 CharlesIrvineKC

@ChuckIrvine Thanks again. That will help for sure, when I can look into this.

So, some times the same process gets run so that it renders correctly? But instance that renders wrong, does it all the time?

Do all those tasks around the issue require at least some time to process or is it possible that they end up having identical completion time stamps?

datakurre avatar Jun 03 '22 03:06 datakurre

In the example, you will run the same process multiple times always with the same variable settings. Sometimes it will render correctly and sometimes not.

I haven't checked any timings.

CharlesIrvineKC avatar Jun 03 '22 13:06 CharlesIrvineKC