Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Missing processDefinitionKey in resumed process instances in query service #2318
This was referenced
Jan 2, 2019
Currently it seems that all events related to process, except of create an start should have processDefinitionKey = null
This can be used for tests...
At the low end a following function is called, and returned object has important values null:
To say the truth I do not know what to do to get this value for event: low level functions do not pick up these values. Maybe we have to make changes in configuration of queries. We have to really discuss this once...
As green tests by @CTI777 suggest, it turns out that the missing information in the entity, is present in the event:
Just to be sure.. the problem is here:
When resuming a process we shouldn't override this data if the entity already has it stored from previous events. Also it highlights the problem of looking into the "event"."entity" to get that information and sometimes.. depending on the event that information is not available on the "entity" level.. This means that we should upgrade and unify our handlers to make sure that we consume the information from the top "event" level.