Interface WorkflowProcessService

All Superinterfaces:
com.lexmark.saperion.search.SearchExecutionService<WorkflowProcessListItemType>
All Known Implementing Classes:
AbstractWorkflowProcessDelegateService, WorkflowProcessDelegateService

public interface WorkflowProcessService extends com.lexmark.saperion.search.SearchExecutionService<WorkflowProcessListItemType>
This service provides functionality concerning running workflow process instances.
Author:
jschwarz
  • Method Details

    • loadProcess

      WorkflowProcessType loadProcess(WorkflowProcessReferenceType reference) throws com.lexmark.saperion.exceptions.EcmException
      Loads the details of a workflow process with the given reference.
      Parameters:
      reference - the workflow process reference in base64 encoded form of {"id":"xxx"}
      Returns:
      the process information
      Throws:
      com.lexmark.saperion.exceptions.EcmException
    • terminate

      void terminate(WorkflowProcessReferenceType processReference) throws com.lexmark.saperion.exceptions.EcmException
      This method terminates the workflow process given.
      Parameters:
      processReference - a reference to the process to terminate in base64 encoded form of {"id":"xxx"}
      Throws:
      com.lexmark.saperion.exceptions.EcmException