camunda / camunda-bpm-platform

Flexible framework for workflow and decision automation with BPMN and DMN. Integration with Quarkus, Spring, Spring Boot, CDI.
https://camunda.com/
Apache License 2.0
4.1k stars 1.55k forks source link

Populate `processInstanceId` for execution jobs when `invocationsPerBatchJob=1` #4205

Open yanavasileva opened 6 months ago

yanavasileva commented 6 months ago

Acceptance Criteria (Required on creation)

Hints

Links

Breakdown

### Pull Requests
- [ ] https://github.com/camunda/camunda-bpm-platform/pull/4334
- [ ] https://github.com/camunda/camunda-bpm-platform/pull/4577
yanavasileva commented 3 months ago

Update on population of processDefinitionId for the batch execution jobs. The information is not available out of the box for most of the batches. With consideration of the performance (querying for each PI to fetch the process definition ID), we decided to populate the id only if it's already available (restart batch). We can iterate later on that if we receive user's feedback that this is needed.