Camunda Code Examples to manage different versions using embebed engine

Hello guys! Have someone code examples to manage different versions of the processes (several= when we use an embedded engine?
Thank you.
Maxi