cancel
Showing results for 
Search instead for 
Did you mean: 

How to take the execution to the next ServiceTask in Activiti 7 without PvmTransition.

ferio23
Champ in-the-making
Champ in-the-making

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);

1 REPLY 1

sanjaybandhaniya
Elite Collaborator
Elite Collaborator

Please check this documentation.

https://docs.alfresco.com/process-services/latest/upgrade/ (Alfresco Process Services breaking changes)