-
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
feat: process instance pdk api enhancement #4847
feat: process instance pdk api enhancement #4847
Conversation
To reviewer:
|
@@ -774,9 +783,13 @@ public void setProcessDefinition(ProcessDefinitionImpl processDefinition) { | |||
this.processDefinition = processDefinition; | |||
if (processDefinition != null) { | |||
this.processDefinitionId = processDefinition.getId(); | |||
if (processDefinition instanceof ProcessDefinitionEntity) { |
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.
📓 Process definition can be created without a key. Therefore, setting the key only if we have have it.
Found out about the use case via failing org.camunda.bpm.engine.test.standalone.entity.EntitySerializationTest.testExecutionEntitySerialization()
.
@yanavasileva , Nandan |
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.
👍 Looks good in general, I added one comment but otherwise I think this is good to go.
engine/src/main/java/org/camunda/bpm/engine/runtime/ProcessInstance.java
Outdated
Show resolved
Hide resolved
Sorry, I accidentally pushed a commit to this branch. I reverted it. Please squash when merging. |
Thanks to each one of you for your support.If there is any action item at my end kindly flag me. Regards, |
Rebase before merge: |
Signed-off-by: Shenoy, Nandan <[email protected]>
585aa2a
to
038ac1b
Compare
#4049