Team can you please help me to get the ans of this please right now in camunda cockpit when ever i deploy the small change the definition version is getting updated every release and the most current version does not display the list of events, we have to go back to previous versions to see the details on the events,
how can we avoid this we need to do migration ? how can we avoid this ? how those events i can able to see in new version as well? how does it affect ?kindly help
I don’t think you can avoid this inside Camunda Cockpit - it’s really a result of how the engine works. A process definition is a template and that definition may have a number of process instances (running / completed) associated with it. Each process instance has a life of its own within the boundaries of the process definition it has.
I expect that the events you are talking about are things that happen to a specific process instance (associated with a specific process definition) - it would be confusing to show previous events togehter with the latest process definition version.
Thanks for reply @mimaom , do we have anything to display previous event in new definition version ? is it possible to migrate from previous version to latest one? how it will affect me in new version then?
It makes no sense to want to mix events from different process definitions - process definitions can change a lot from version to version. Yes, it’s possible to migrate from one version of a process definition to a newer version. Have at look at the REST API:
If you work inside the Camunda Cockpit, then yes.
Depending on your use-case, yo can write your own tools to aid migration, if that is your problem.
You can access the REST API and get any information you might need - but that will not change the Camunda model - any given process definition may have multiple process instances and each process instance may have a number of “events”. The RESPI API will also reflect that.