public interface WorkflowDefinitionService extends com.lexmark.saperion.search.SearchExecutionService<WorkflowDefinitionListItemType>
Modifier and Type | Method and Description |
---|---|
TransitionDefinitionType |
getInitialTransition(WorkflowDefinitionReferenceType reference)
This method returns the initial transition definition for the referenced workflow.
|
WorkflowDefinitionType |
getWorkflowDefinitionById(WorkflowDefinitionReferenceType reference)
This method returns further information for a workflow process given by its reference.
|
com.lexmark.saperion.search.SearchResultPage<WorkflowDefinitionListItemType> |
search(com.lexmark.saperion.search.query.Statement statement,
com.lexmark.saperion.search.PageDefinition pageDefinition)
This method returns a list of references for every workflow definition in the system accessible from the
current tenant.
|
default WorkflowProcessReferenceType |
startWorkflowProcess(WorkflowDefinitionReferenceType workflowDefinitionReference,
com.lexmark.saperion.document.DocumentReferenceType documentId,
List<? extends com.lexmark.saperion.administration.ActorReferenceType> actors,
String comment)
Deprecated.
|
WorkflowProcessReferenceType |
startWorkflowProcess(WorkflowDefinitionReferenceType reference,
WorkflowStartInputType input)
This method starts a workflow process given a workflow definition and a document (by its id).
|
com.lexmark.saperion.search.SearchResultPage<WorkflowDefinitionListItemType> search(com.lexmark.saperion.search.query.Statement statement, com.lexmark.saperion.search.PageDefinition pageDefinition) throws com.lexmark.saperion.exceptions.EcmException
search
in interface com.lexmark.saperion.search.SearchExecutionService<WorkflowDefinitionListItemType>
com.lexmark.saperion.exceptions.EcmException
WorkflowDefinitionType getWorkflowDefinitionById(WorkflowDefinitionReferenceType reference) throws com.lexmark.saperion.exceptions.EcmException
reference
- the workflow definition reference in base64 encoded form of {"name":"xxx"}com.lexmark.saperion.exceptions.EcmException
@Deprecated default WorkflowProcessReferenceType startWorkflowProcess(WorkflowDefinitionReferenceType workflowDefinitionReference, com.lexmark.saperion.document.DocumentReferenceType documentId, List<? extends com.lexmark.saperion.administration.ActorReferenceType> actors, String comment) throws com.lexmark.saperion.exceptions.EcmException
startWorkflowProcess(WorkflowDefinitionReferenceType, WorkflowStartInputType)
insteadworkflowDefinitionReference
- 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 definitioncom.lexmark.saperion.exceptions.EcmException
WorkflowProcessReferenceType startWorkflowProcess(WorkflowDefinitionReferenceType reference, WorkflowStartInputType input) throws com.lexmark.saperion.exceptions.EcmException
reference
- the workflow definition reference in base64 encoded form of {"name":"xxx"}input
- the parameters for starting a workflowcom.lexmark.saperion.exceptions.EcmException
TransitionDefinitionType getInitialTransition(WorkflowDefinitionReferenceType reference) throws com.lexmark.saperion.exceptions.EcmException
ResourceNotFoundException
.
If the initial transition was not found the method returns null
.reference
- the workflow definition reference in base64 encoded form of {"name":"xxx"}null
if not presentcom.lexmark.saperion.exceptions.EcmException
Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.