public class StartWorkflow extends AbstractProceduralB2BOrderAproveAction
EscalationTaskModel which escalates the workflow to next
available approver if the order has not been approved within 24 hours.AbstractProceduralAction.TransitionmodelService, processParameterHelperERROR_RETURN_CODE, RETRY_RETURN_CODE| Constructor and Description |
|---|
StartWorkflow() |
| Modifier and Type | Method and Description |
|---|---|
void |
executeAction(B2BApprovalProcessModel aprovalProcess)
Execute an action of a B2B approval process
|
boolean |
isEscalate() |
void |
setB2bEscalationService(B2BEscalationService b2bEscalationService)
Sets the b2b escalation service.
|
void |
setB2bWorkflowIntegrationService(B2BWorkflowIntegrationService b2bWorkflowIntegrationService)
Sets the b2b workflow integration service.
|
void |
setEscalate(boolean escalate) |
void |
setPermissionResultHelper(B2BPermissionResultHelperImpl permissionResultHelper) |
void |
setWorkflowProcessingService(WorkflowProcessingService workflowProcessingService) |
void |
setWorkflowService(WorkflowService workflowService) |
executeActionexecute, getTransitionscreateTransitions, getModelService, getProcessParameterHelper, getProcessParameterValue, refresh, save, setModelService, setOrderStatus, setProcessParameterHelperclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCurrentActionDefinitionContextpublic void executeAction(B2BApprovalProcessModel aprovalProcess) throws RetryLaterException
AbstractProceduralB2BOrderAproveActionexecuteAction in class AbstractProceduralB2BOrderAproveActionaprovalProcess - the process context to work onRetryLaterException - Triggers the action to be processes again.public void setB2bWorkflowIntegrationService(B2BWorkflowIntegrationService b2bWorkflowIntegrationService)
b2bWorkflowIntegrationService - the b2bWorkflowIntegrationService to setpublic void setB2bEscalationService(B2BEscalationService b2bEscalationService)
b2bEscalationService - the b2bEscalationService to setpublic void setPermissionResultHelper(B2BPermissionResultHelperImpl permissionResultHelper)
permissionResultHelper - the permissionResultHelper to setpublic void setWorkflowProcessingService(WorkflowProcessingService workflowProcessingService)
public void setWorkflowService(WorkflowService workflowService)
public boolean isEscalate()
public void setEscalate(boolean escalate)
escalate - the escalate to setCopyright © 2018 SAP SE. All Rights Reserved.