Im a beginner to Spring State Machine. I have a requirement to perform multiple States like below.
Ex: Initial --> Create product --> Packing --> Shipping
I need to pass in an object from the main method to the "Create product" or "Initial" state and at the end "Shipping" state should return the object to the main method.
Is there a possible way in spring state machine to do this?