Package org.activiti.cdi.annotation

Examples of org.activiti.cdi.annotation.CompleteTask.endConversation()


  public Object invoke(InvocationContext ctx) throws Exception {
    try {
      Object result = ctx.proceed();

      CompleteTask completeTaskAnnotation = ctx.getMethod().getAnnotation(CompleteTask.class);
      boolean endConversation = completeTaskAnnotation.endConversation();   
      businessProcess.completeTask(endConversation);    

      return result;
    } catch (InvocationTargetException e) {
      throw new ActivitiCdiException("Error while completing task: "+e.getCause().getMessage(), e.getCause());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.