Package org.jbpm

Examples of org.jbpm.JbpmConfiguration$Configs


        throw e;
     
        // get name of the process
      String nameProcess = processDefinition.getName();
      // get jbpm context
      JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance();
      jbpmContext = jbpmConfiguration.createJbpmContext();
      // deploy process  
      try{
        jbpmContext.deployProcessDefinition(processDefinition)
      } catch (Exception e) {
        executionMsg = msgBuilder.getMessage("dossier.workProcessStartError", "component_dossier_messages");
View Full Code Here


    JbpmContext jbpmContext = null;
    try {
      // recover task instance and variables
      String activityKey = (String) request.getAttribute(SpagoBIConstants.ACTIVITYKEY);
      String approved = (String) request.getAttribute("approved");
      JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance();
      jbpmContext = jbpmConfiguration.createJbpmContext();
      TaskInstance taskInstance = jbpmContext.getTaskInstance(new Long(activityKey).longValue());
      contextInstance = taskInstance.getContextInstance();
      ProcessInstance processInstance = contextInstance.getProcessInstance();
      Long workflowProcessId = new Long(processInstance.getId());
      String dossierIdStr = (String) contextInstance.getVariable(DossierConstants.DOSSIER_ID);
View Full Code Here

    JbpmContext jbpmContext = null;
    logger.debug("IN");
    try {
      // recover task instance and variables
      String activityKey = (String)request.getAttribute("activityKey");
      JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance();
      jbpmContext = jbpmConfiguration.createJbpmContext();
      TaskInstance taskInstance = jbpmContext.getTaskInstance(new Long(activityKey).longValue());
      String index = (String)taskInstance.getVariable(DossierConstants.DOSSIER_PART_INDEX);
      int pageNum = Integer.parseInt(index);
      ContextInstance contextInstance = taskInstance.getContextInstance();
      ProcessInstance processInstance = contextInstance.getProcessInstance();
View Full Code Here

      int pageNum = Integer.parseInt(indexPart);
      String dossierIdStr = (String)request.getAttribute(DossierConstants.DOSSIER_ID);
      Integer dossierId = new Integer(dossierIdStr);
      String noteSent = (String)request.getAttribute("notes");
      String activityKey = (String)request.getAttribute(SpagoBIConstants.ACTIVITYKEY);
      JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance();
      jbpmContext = jbpmConfiguration.createJbpmContext();
      TaskInstance taskInstance = jbpmContext.getTaskInstance(new Long(activityKey).longValue());
      ContextInstance contextInstance = taskInstance.getContextInstance();
      ProcessInstance processInstance = contextInstance.getProcessInstance();
      Long workflowProcessId = new Long(processInstance.getId());
      SessionContainer session = this.getRequestContainer().getSessionContainer();
View Full Code Here

         String activityKey = (String) serviceRequest.getAttribute(SpagoBIConstants.ACTIVITYKEY);
         JbpmContext jbpmContext = null;
         Integer dossierId = null;
         Long workflowProcessId = null;
         try {
           JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance();
                     jbpmContext = jbpmConfiguration.createJbpmContext();
           long activityKeyId = Long.valueOf(activityKey).longValue();
           TaskInstance taskInstance = jbpmContext.getTaskInstance(activityKeyId);
           ContextInstance contextInstance = taskInstance.getContextInstance();
           ProcessInstance processInstance = contextInstance.getProcessInstance();
           workflowProcessId = new Long(processInstance.getId());
View Full Code Here

TOP

Related Classes of org.jbpm.JbpmConfiguration$Configs

Copyright © 2018 www.massapicom. 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.