Class JbpmServiceBuilder

java.lang.Object
com.skava.accounts.workflow.config.JbpmServiceBuilder

@Component @Configuration public class JbpmServiceBuilder extends Object
  • Constructor Details

    • JbpmServiceBuilder

      public JbpmServiceBuilder()
  • Method Details

    • init

      @PostConstruct public void init()
    • jbpmProcess

      public WorkflowOutputModel jbpmProcess(String jbpmWorkflow, AccountWorkflowRuleRequest workflowCartRequest)
      This method is used to start the jbpm.
      Parameters:
      jbpmWorkflow -
      workflowCartRequest -
      Returns:
    • getWorkflowProcessId

      public String getWorkflowProcessId(String jbpmWorkflow)
      This method is used to fetch the processId from bpmn content.
      Parameters:
      jbpmWorkflow -
      Returns:
      processId
    • startProcess

      public WorkflowOutputModel startProcess(Map<String,Object> workItem, String bpmnContent)
      This method is used to start the process.
      Parameters:
      workItem -
      bpmnContent -
      Returns:
      output
    • startBpmnProcess

      public WorkflowOutputModel startBpmnProcess(org.kie.api.runtime.KieSession ksession, Map<String,Object> parameters, String processId)
      This method is used to start the process.
      Parameters:
      ksession -
      parameters -
      processId -
      Returns:
      processResponse