-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Expose restartedProcessInstanceId
for historic process instances
#4214
Comments
oldProcessInstanceId
for historic process instancesrestartedProcessInstanceId
for historic process instances
I am working on this one |
Hi Yana, This reminds me we need to update the documentation of /process-definition/{id}/restart. It says the field of instructions and instanceId is optional but in the code it validates for not null. |
Hi @punitdarira, Good catch, only
If it's not a big change, feel free to incorporate it to one of your contributions or raise a task for it. Best, |
…tance response related to camunda#4214
Hey @psavidis, It would be great to complete what @punitdarira already started and get it into the 7.22.0 release. Best, |
…iviti.cockroachdb.create.history.sql Related to camunda#4214
…iti.cockroachdb.drop.history.sql Related to camunda#4214
Context: This commit introduces restartedProcessInstanceId for historic process instances. Why: To be able to track the originating process instances in restart - batch operations. Db-Migration: The commit introduces - RESTARTED_PROC_INST_ID_ column in ACT_HI_PROCINST table - ACT_IDX_HI_PRO_RST_PRO_INST_ID index on the above Unit-tests: Adds a unit test for verified the population of the column for completed and restarted process instances Related-to - #4214 - #4201
@punitdarira fork is merged to |
Context: This commit introduces restartedProcessInstanceId for historic process instances. Why: To be able to track the originating process instances in restart - batch operations. Db-Migration: The commit introduces - RESTARTED_PROC_INST_ID_ column in ACT_HI_PROCINST table - ACT_IDX_HI_PRO_RST_PRO_INST_ID index on the above Unit-tests: Adds a unit test for verified the population of the column for completed and restarted process instances Related-to - camunda/camunda-bpm-platform#4214 - camunda/camunda-bpm-platform#4201 Backported commit 0509c7b114 from the camunda-bpm-platform repository. Original author: punitdarira <punitdarira@gmail.com>
Context: This commit introduces restartedProcessInstanceId for historic process instances. Why: To be able to track the originating process instances in restart - batch operations. Db-Migration: The commit introduces - RESTARTED_PROC_INST_ID_ column in ACT_HI_PROCINST table - ACT_IDX_HI_PRO_RST_PRO_INST_ID index on the above Unit-tests: Adds a unit test for verified the population of the column for completed and restarted process instances Related-to - camunda/camunda-bpm-platform#4214 - camunda/camunda-bpm-platform#4201 Backported commit 0509c7b114 from the camunda-bpm-platform repository. Original author: punitdarira <punitdarira@gmail.com>
Acceptance Criteria (Required on creation)
restarted_proc_inst_id
toACT_HI_PROCINST
restartedProcessInstanceId
inHistoricProcessInstanceEventEntity
StartProcessInstanceAtActivitiesCmd
via a field ofProcessInstantiationBuilderImpl
camunda-bpm-platform/engine/src/main/java/org/camunda/bpm/engine/impl/cmd/RestartProcessInstancesCmd.java
Line 114 in 52c98fa
Hints
Links
Breakdown
Pull Requests
The text was updated successfully, but these errors were encountered: