public class VariableStep extends Object implements Step
Variables are already copied by the ModelStep, but advanced
operations like renaming, changing type or value are not supported.
This steps reads a variable from the old instance in its prepare(StepExecutionContext) method.
Then applies a transformation and writes the result in its perform(StepExecutionContext) method.
Source and target variable are determined by a ReadStrategy and a WriteStrategy.
The transformation is performed by a Conversion
| Modifier and Type | Method and Description |
|---|---|
void |
perform(StepExecutionContext context)
Perform changes to the process instance.
|
void |
prepare(StepExecutionContext context)
Prepare this step before changes are applied.
|
public void prepare(StepExecutionContext context)
Steppublic void perform(StepExecutionContext context)
StepCopyright © 2017 camunda services GmbH. All rights reserved.