Hi, I wanted to know how to deploy a bpmn from the modeler that contains a mail task that uses the htmlVar.
The modeler does not allow me to use this attribute, but only the normal html. But I need the htmlVar.
Indeed, it was missing. Added it here: https://github.com/flowable/flowable-engine/commit/7a27027ac779073ad2785d92c5ff4236b8f251bc
He is not the only one absent. All the variables â*Varâ was absent.
But thank you very much for your job.
Hi @joram,
Weâve been trying to use the htmlVar
and textVar
attributes of the mail task through the modeler as well (v6.5.0). While the attributes are present, form validation fails even when they are specified.
Looking at ExternalInvocationTaskValidator.java
it expects the field name to be camel case âhtmlVarâ, however, in an exported version of the bpmn, that field name (as well as textVar) has been converted lower case as in the excerpt below:
<flowable:field name="htmlvar">
<flowable:string><![CDATA[htmlTemplate]]></flowable:string>
</flowable:field>
<flowable:field name="textvar">
<flowable:string><![CDATA[textTemplate]]></flowable:string>
</flowable:field>
That same process before export has the following validation error in the modeler:
Is this a know issue thatâs been fixed and will be available in 6.5.1?
Valid point, fixed here: https://github.com/flowable/flowable-engine/commit/36403c5e3a3d378d1082f2ad2e3046735da2df21
Not sure why I didnât see this when doing the previous commit.