public interface WarehousingConsignmentWorkflowService
ConsignmentModel workflow.| Modifier and Type | Method and Description |
|---|---|
void |
decideWorkflowAction(ConsignmentModel consignment,
java.lang.String templateCode,
java.lang.String choice)
Decides which
WorkflowActionModel to trigger from a given ConsignmentModel and moves consignment's business process |
WorkflowActionModel |
getWorkflowActionForTemplateCode(java.lang.String templateCode,
ConsignmentModel consignment)
|
void |
startConsignmentWorkflow(ConsignmentModel consignment)
Starts a workflow for the given consignment
ConsignmentModel. |
void |
terminateConsignmentWorkflow(ConsignmentModel consignment)
Terminates a workflow assigned for the given consignment
ConsignmentModel |
void startConsignmentWorkflow(ConsignmentModel consignment)
ConsignmentModel.consignment - ConsignmentModel for which a workflow needs to be startedvoid terminateConsignmentWorkflow(ConsignmentModel consignment)
ConsignmentModelconsignment - ConsignmentModel which we want to terminate the workflow forvoid decideWorkflowAction(ConsignmentModel consignment, java.lang.String templateCode, java.lang.String choice)
WorkflowActionModel to trigger from a given ConsignmentModel and moves consignment's business processconsignment - the ConsignmentModel on which your action happenedtemplateCode - the JobModel.CODEchoice - the string code of the consignment's BusinessProcessModel choice to be processedWorkflowActionModel getWorkflowActionForTemplateCode(java.lang.String templateCode, ConsignmentModel consignment)
templateCode - the JobModel.CODE to retrieveconsignment - the ConsignmentModel for which the WorkflowActionModel is requiredWorkflowActionModelCopyright © 2018 SAP SE. All Rights Reserved.