You can pass data between the caller and the called workflow by adding Context Mapping elements under the Workflow Call element.
CONTEXT MAPPING ATTRIBUTES
| Direction | Specifies the direction of the mapping.
|
|---|---|
| CallerContextStore | The context of the caller (this) workflow. |
| XPath | XPath expression, by which you can limit the values transferred to the called workflow (so the XPath will be executed for Input parameters on the CallerContextStore). |
| TargetContextStore | The context store of the target (called) workflow. |
Typically you will pass some contexts to the called workflow (Direction = Input) and you use one of the contexts of the called workflow for return values (Direction = Return), so the return value can be checked by the EndRule.