public interface WorkflowDefinitionClient
| Modifier and Type | Method and Description |
|---|---|
TransitionDefinitionType |
getInitialTransition()
This method returns the initial transition definition for the workflow definition.
|
WorkflowDefinitionType |
load()
This method returns a representation of the workflow definition.
|
default WorkflowProcessReferenceType |
startWorkflow(com.lexmark.saperion.document.DocumentReferenceType documentReference,
String comment)
This method starts a workflow for the given document.
|
WorkflowProcessReferenceType |
startWorkflow(com.lexmark.saperion.document.DocumentReferenceType document,
String comment,
List<com.lexmark.saperion.administration.ActorReferenceType> actors)
This method starts a workflow for the given document.
|
WorkflowDefinitionType load() throws com.lexmark.saperion.exceptions.EcmException
com.lexmark.saperion.exceptions.system.SystemException - indicates that a system exception occurredcom.lexmark.saperion.exceptions.EcmExceptionTransitionDefinitionType getInitialTransition() throws com.lexmark.saperion.exceptions.EcmException
com.lexmark.saperion.exceptions.system.SystemException - indicates that a system exception occurredcom.lexmark.saperion.exceptions.EcmExceptiondefault WorkflowProcessReferenceType startWorkflow(com.lexmark.saperion.document.DocumentReferenceType documentReference, String comment) throws com.lexmark.saperion.exceptions.EcmException
documentReference - the document for which the workflow is started.comment - the workflow start commentcom.lexmark.saperion.exceptions.EcmException - indicates that a system exception occurredWorkflowProcessReferenceType startWorkflow(com.lexmark.saperion.document.DocumentReferenceType document, String comment, List<com.lexmark.saperion.administration.ActorReferenceType> actors) throws com.lexmark.saperion.exceptions.EcmException
document - the document for which the workflow is started.actors - list of actors for the next workflow stepcomment - the workflow start commentcom.lexmark.saperion.exceptions.EcmException - indicates that a system exception occurredCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.