Direct Known Subclasses:
SourcingUtil

public class WorkflowUtil extends ProcessUtil
This class is used for workflow interactions
  • Field Details

  • Constructor Details

    • WorkflowUtil

      public WorkflowUtil()
  • Method Details

    • moveConsignmentWorkflow

      public void moveConsignmentWorkflow(OrderProcessModel orderProcessModel, ConsignmentModel consignment, String templateCode)
      Moves the task assignment workflow to its next planned task
      Parameters:
      orderProcessModel - the associated OrderProcessModel
      consignment - the targeted ConsignmentModel for which we want to move the workflow forward
      templateCode - the JobModel.CODE to be moved
    • waitUntilWorkflowProcessIsNotRunning

      public void waitUntilWorkflowProcessIsNotRunning(WorkflowModel workflow, int timeOut)
      Wait until the workflow process is not running
      Parameters:
      workflow -
      timeOut -
      Throws:
      InterruptedException
    • setupRelations

      public void setupRelations()
      Setup links between actions and decisions
    • getWarehousingConsignmentWorkflowService

      public WarehousingConsignmentWorkflowService getWarehousingConsignmentWorkflowService()
    • setWarehousingConsignmentWorkflowService

      public void setWarehousingConsignmentWorkflowService(WarehousingConsignmentWorkflowService warehousingConsignmentWorkflowService)
    • getImpersonationService

      public ImpersonationService getImpersonationService()
    • setImpersonationService

      public void setImpersonationService(ImpersonationService impersonationService)