Email task failing when two custom inputs are scripts

I have a custom send mail task written with two dynamic inputs as velocity scripts (subject line and email body)

When one field is set with scriptFormat = velocity it works fine and that field gets processed, but if both are set that way and I have a ${…} token in both I receive this workflow error

UI looks like this image

It appears that testinstanceid doesn’t exist.

It looks like your question is not related to our project or one of our toolkits. For questions regarding other tools please refer to their respective communication channels. If your question is about the Camunda platform or the Camunda Modeler, please head over to the Camunda forum for assistance.

Please provide more context if you are certain this is the right place to get an answer and we may be able to help you.

Thank you :sunny:

1 Like