Package org.activiti.engine

Examples of org.activiti.engine.RepositoryService.activateProcessDefinitionById()


    public String activeProcessDefinition(
            @RequestParam("processDefinitionId") String processDefinitionId) {
        RepositoryService repositoryService = processEngine
                .getRepositoryService();

        repositoryService.activateProcessDefinitionById(processDefinitionId,
                true, null);

        return "redirect:/bpm/console-listProcessDefinitions.do";
    }
View Full Code Here


               
        if (suspend) {
          repositoryService.suspendProcessDefinitionById(processDefinitionId,
                includeProcessInstances, (Date) dateField.getValue());
        } else {
          repositoryService.activateProcessDefinitionById(processDefinitionId,
                  includeProcessInstances, (Date) dateField.getValue());
        }
       
        close();
        parentPage.refreshSelectNext(); // select next item in list on the left
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.