public class WorkflowTemplateActivationCtx
extends DefaultContext
WorkflowTemplateModel.getActivationScript().| Constructor and Description |
|---|
WorkflowTemplateActivationCtx(ItemModel item,
Map<String,Object> currentValues,
Map<String,Object> initialValues,
String workflowOperationType) |
WorkflowTemplateActivationCtx(ItemModel item,
Map<String,Object> initialValues,
String workflowOperationType)
This constructor should be used when item is being created.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getCurrentValues() |
Map<String,Object> |
getInitialValues() |
ItemModel |
getItem() |
String |
getWorkflowOperationType() |
public WorkflowTemplateActivationCtx(ItemModel item, Map<String,Object> currentValues, Map<String,Object> initialValues, String workflowOperationType)
item - an item being savedcurrentValues - new values which will be savedinitialValues - original values of modified attributesworkflowOperationType - one of given values
WorkflowConstants.WorkflowActivationScriptActionspublic WorkflowTemplateActivationCtx(ItemModel item, Map<String,Object> initialValues, String workflowOperationType)
item - item being created.initialValues - list of values used for object creation.workflowOperationType - one of given values
WorkflowConstants.WorkflowActivationScriptActionsCopyright © 2017 SAP SE. All Rights Reserved.