public abstract class VariableSaveActivityHelper extends Object
Supports saving generated workObjectId into root, parent and process variables
Constructor and Description |
---|
VariableSaveActivityHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
putIdVariable(org.flowable.engine.delegate.DelegateExecution execution,
AnyWorkObject workObjectInScope,
String createdWorkObjectId,
String idVariableName,
AnyWorkObjectService workObjectService)
Puts variable into correct context according to idVariableName
|
public static void putIdVariable(org.flowable.engine.delegate.DelegateExecution execution, AnyWorkObject workObjectInScope, String createdWorkObjectId, String idVariableName, AnyWorkObjectService workObjectService)
Puts variable into correct context according to idVariableName
execution
- execution in which ActivityService actsworkObjectInScope
- current work object associated with executioncreatedWorkObjectId
- id of the work object which was created. This is the value which we want to storeidVariableName
- variable name into which createdWorkObjectId is stored. Allowed prefixes are root - top most parent case, parent - the first parent case,
without prefix - current processworkObjectService
- service to use to put variableCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.