I have a process with several service task in which I was using SignalableActivityBehavior and in the signal method I used org.activiti.engine.impl.pvm packages to take the execution to next service task after I signal it.
Now I am upgrading from ACTIVITI 5 to ACTIVITI 7. So as the PvmTransition is deprecated I want an alternative to move to the next Service task.
Below is the code snippet I used in Activiti 5 but these are giving errors in ACTIVITI 7. So I need alternative methods compatible with ACTIVITI 7 for this purpose.
PvmTransition transition = execution.getActivity().getOutgoingTransitions().get(0);
execution.take( transition);