public interface WorkflowDefinitionService
operations and provides
functionality concerning workflow definitions.| Modifier and Type | Method and Description |
|---|---|
com.lexmark.saperion.workflow.TransitionDefinitionType |
getInitialTransition(com.lexmark.saperion.workflow.WorkflowDefinitionReferenceType reference)
This method returns the initial transition definition for the referenced workflow.
|
com.lexmark.saperion.workflow.WorkflowDefinitionType |
getWorkflowDefinitionById(com.lexmark.saperion.workflow.WorkflowDefinitionReferenceType reference)
This method returns further information for a workflow process given by its reference.
|
List<com.lexmark.saperion.workflow.WorkflowDefinitionListItemType> |
listWorkflowDefinitions()
This method returns a list of references for every workflow definition in the system accessible from the
current tenant.
|
com.lexmark.saperion.workflow.WorkflowProcessReferenceType |
startWorkflowProcess(com.lexmark.saperion.workflow.WorkflowDefinitionReferenceType workflowDefinitionReference,
com.lexmark.saperion.document.DocumentReferenceType documentId,
List<? extends com.lexmark.saperion.administration.ActorReferenceType> actors,
String comment)
This method starts a workflow process given a workflow definition and a document (by its id).
|
List<com.lexmark.saperion.workflow.WorkflowDefinitionListItemType> listWorkflowDefinitions() throws NativeException, SaAuthenticationException
NativeExceptionSaAuthenticationExceptioncom.lexmark.saperion.workflow.WorkflowDefinitionType getWorkflowDefinitionById(com.lexmark.saperion.workflow.WorkflowDefinitionReferenceType reference)
throws SaBasicException
reference - a reference of the workflow process to obtain the information forSaBasicExceptioncom.lexmark.saperion.workflow.WorkflowProcessReferenceType startWorkflowProcess(com.lexmark.saperion.workflow.WorkflowDefinitionReferenceType workflowDefinitionReference,
com.lexmark.saperion.document.DocumentReferenceType documentId,
List<? extends com.lexmark.saperion.administration.ActorReferenceType> actors,
String comment)
throws SaBasicException
workflowDefinitionReference - a reference to the workflow definition to startdocumentId - the id of the document to start the process onactors - a list of the receivers of the next task, may be null depending on the workflow definitioncomment - a comment for the workflow process, may be null depending on the workflow definitionSaBasicExceptioncom.lexmark.saperion.workflow.TransitionDefinitionType getInitialTransition(com.lexmark.saperion.workflow.WorkflowDefinitionReferenceType reference)
throws SaBasicException
UnknownReferenceException.
If the initial transition was not found the method returns null.reference - the workflow definition referencenull if not presentUnknownReferenceException - the referenced workflow definition does not existSaBasicExceptionCopyright © 2016 SAPERION AG. All rights reserved.