Skip to content

Commit 3ae9c78

Browse files
tasso94github-actions[bot]
authored andcommitted
docs(mig-guide): allow query for hist pis by async activities (#1698)
related to camunda/camunda-bpm-platform#4769 (cherry picked from commit 892f86c)
1 parent 0981e58 commit 3ae9c78

File tree

2 files changed

+26
-12
lines changed

2 files changed

+26
-12
lines changed

content/update/minor/721-to-722/_index.md

+11-12
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ This document guides you through the update from Camunda `7.21.x` to `7.22.0` an
2929
1. For administrators and developers: [Sending telemetry feature removed](#sending-telemetry-feature-removed)
3030
1. For administrators: [Database transaction isolation level `READ_COMMITTED` is enforced](#database-transaction-isolation-level-read-committed-is-enforced)
3131
1. For developers: [Quarkus 3.14 Extension Update](#quarkus-3-14-extension-update)
32-
1. For administrators and developers: [Process Instance Modification Filter Changes](#process-instance-modification-filter-changes)
32+
1. For administrators and developers: [Cockpit: Process Instance Batch Modification](#cockpit-process-instance-batch-modification)
3333

3434
This guide covers mandatory migration steps and optional considerations for the initial configuration of new functionality included in Camunda 7.22.
3535

@@ -295,23 +295,22 @@ For a detailed guide on the new Quarkus properties, visit the updated [Quarkus C
295295

296296
To read more on how Quarkus extensions treat configuration differently, see this [Quarkus Migration Guide](https://github.com/quarkusio/quarkus/wiki/Migration-Guide-3.14#for-extension-developers) and the [Mapping Configuration to Objects Guide](https://quarkus.io/guides/config-mappings).
297297

298-
# Process Instance Modification Filter Changes
298+
# Cockpit: Process Instance Batch Modification
299299

300-
The [Process Definition View][process-instance-modification] dialog of Camunda Cockpit has been updated to use the Historic API. With this change, the `start date` filter is now available within the workflow.
300+
This release introduces changes in Cockpit when performing a [Process Instance Batch Modification][process-instance-modification]:
301301

302-
[process-instance-modification]: {{< ref "/webapps/cockpit/bpmn/process-instance-modification.md#perform-a-batch-modification" >}}
302+
1. Querying for process instances now uses the historic instead of the runtime process instance query. This streamlines the query behavior with the standalone batch operation page.
303+
2. Users that have saved queries cannot access them anymore after the upgrade. Please inform your users to migrate their saved queries accordingly.
303304

304-
## Saved Filters are Now Isolated
305-
Filters saved in the Modify Process Instance workflow were previously shared across other pages. With this update, the filters of Modify Process Instance workflow and other pages are isolated and independent of each other.
305+
### Reverted behavior change of the `Actvitiy ID` filter when upgrading from 7.22.0 to 7.22.1
306306

307307
{{< note title="Heads-up!" class="warning" >}}
308-
After migrating to the new version of Camunda, no saved filters will be available in the Modify Process Instance workflow. Users will need to re-enter and save these filters following the migration. Please notify your users before the migration.
308+
After migrating to 7.22.1, the behavior of the `Activity ID` filter when batch modifying process instances will change back to the old behavior you are used to from Camunda versions <= 7.21.X.
309309
{{< /note >}}
310310

311-
## Edge Cases with Behavioral Changes
312-
313-
- Tokens on Async Tasks: Tokens sitting on an `asyncBefore`/`asyncAfter` task will not yield process instances when using the `activityIdIn` filter, as no history has been produced yet. Filtering here is effectively racing against the job executor. Given the job executor usually processes faster than a user can apply filters, state changes can impact query results. This filter is most applicable for true wait states (e.g., user tasks, external tasks, timers) rather than transaction boundaries.
311+
The 7.22.0 release introduced a limitation for the `Activity ID` filter: Filtering for activities marked as `asyncBefore`/`asyncAfter` with active instances didn't yield process instances when using the `Activity ID` filter.
314312

315-
- Compensation Scenarios: It is no longer possible to retrieve process instances with the `activityIdIn` filter on the subprocess "activity". When using `activityIdIn` filter for compensation scenarios, users need to filter by specific flow nodes rather than the broader subprocess activities.
313+
After some user feedback, we understood that there are use cases that cannot be catered with this limitation in place leading to undesired behavior.
314+
With this patch release, we lifted this limitation by opting for a different solution approach which restored the previous behavior.
316315

317-
- Incident Deletion: When an incident is deleted, the incident filters will still return the process instances that previously had an incident. This behavior aligns with the standalone batch operation page and ensures consistency across the application.
316+
[process-instance-modification]: {{< ref "/webapps/cockpit/bpmn/process-instance-modification.md#perform-a-batch-modification" >}}

content/update/patch-level.md

+15
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,21 @@ The following test scenarios fail on Tomcat 10:
515515
* [CdiBeanCallActivityResolutionTest](https://github.com/camunda/camunda-bpm-platform/blob/f37877b822dabcbf3cee5806bd5833d18cdcb543/qa/integration-tests-engine/src/test/java/org/camunda/bpm/integrationtest/functional/cdi/CdiBeanCallActivityResolutionTest.java)
516516
{{< /note >}}
517517

518+
## 7.22.0 to 7.22.1
519+
520+
The 7.22.0 release [replaced the runtime with the historic process instance query]({{< ref "/update/minor/721-to-722/_index.md#cockpit-process-instance-batch-modification" >}}) in Cockpit when performing a [Process Instance Batch Modification][process-instance-modification].
521+
522+
{{< note title="Heads-up!" class="warning" >}}
523+
After migrating to 7.22.1, the behavior of the `Activity ID` filter when batch modifying process instances will change back to the old behavior you are used to from Camunda versions <= 7.21.X.
524+
{{< /note >}}
525+
526+
The 7.22.0 release introduced a limitation for the `Activity ID` filter: Filtering for activities marked as `asyncBefore`/`asyncAfter` with active instances didn't yield process instances when using the `Activity ID` filter.
527+
528+
After some user feedback, we understood that there are use cases that cannot be catered with this limitation in place leading to undesired behavior.
529+
With this patch release, we lifted this limitation by opting for a different solution approach which restored the previous behavior.
530+
531+
[process-instance-modification]: {{< ref "/webapps/cockpit/bpmn/process-instance-modification.md#perform-a-batch-modification" >}}
532+
518533
# Full Distribution
519534

520535
This section is applicable if you installed the [Full Distribution]({{< ref "/introduction/downloading-camunda.md#full-distribution" >}}) with a **shared process engine**. In this case you need to update the libraries and applications installed inside the application server.

0 commit comments

Comments
 (0)