-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
4587 add incident id in filter to historic process instance query #4590
Changes from all commits
deaec76
3c3d01c
bbf0cb7
c0f2170
6f697f5
150f423
31ee8d6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ✍️ the test case here is 2 incidents we query, we fetch two instances. Test cases that we need to consider covering:
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added test when not all process instances have incidents. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" | ||
xmlns:camunda="http://camunda.org/schema/1.0/bpmn" | ||
targetNamespace="Examples"> | ||
|
||
<process id="failingProcess" name="Failing Process" isExecutable="true"> | ||
|
||
<startEvent id="start" /> | ||
<sequenceFlow id="flow1" sourceRef="start" targetRef="userTask" /> | ||
<userTask id="userTask" /> | ||
<sequenceFlow id="flow2" sourceRef="userTask" targetRef="serviceTask" /> | ||
<serviceTask id="serviceTask" camunda:async="true" | ||
camunda:class="org.camunda.bpm.engine.test.api.runtime.FailingDelegate" name="Service Task"/> | ||
<sequenceFlow id="flow3" sourceRef="serviceTask" targetRef="end" /> | ||
<endEvent id="end" /> | ||
|
||
</process> | ||
|
||
</definitions> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❓ Do we need to extend to docs that incidentIds are excluded for Or queries here: https://docs.camunda.org/manual/develop/user-guide/process-engine/process-engine-api/#or-queries
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point! I added a note to Start date filter for modify operation - Documentation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❓ Are they excluded? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we can just add a test to verify this.