AnsweredAssumed Answered

ActivityExecution execution.end() finish the process?

Question asked by rodolfobarbeiro on Oct 27, 2011
Latest reply on Oct 28, 2011 by rodolfobarbeiro
Hi,

I have a task of type Java Service and depending on the outcome of the operation performed by it, I have to terminate the process.

The following command shutdown the process?


My Java Task:


public class JavaService implements org.activiti.engine.impl.pvm.delegate.ActivityBehavior {



   public void execute(ActivityExecution execution) throws Exception {

      …

      execution.end();

   }
}

Outcomes