Details
Description
Currently there is no way to define expressions for input parameters in Call Activities when using the Designer.
Please extend the Designer to allow both source and sourceExrpessions:
<extensionElements>
<activiti:in source="order" target="order"/>
<activiti:in sourceExpression="CREATE_CONTRACT target="operationType"/>
</extensionElements>
I think there is a way.
In the Form property configuration dialog (the one for editing input/output parameters of a CallActivity), if you enter a JUEL expression in the source field like this: $
{myExpression}, the designer will create a sourceExpression attribute instead of plain source attribute in the activiti:in element.
So, if you enter $
{abc} you will get sourceExpression="${abc}". If you enter just xyz, the result in the BPMN file will be source="xyz".
Tested in Designer 5.8.