AnsweredAssumed Answered

How can I configure charset on Mail node?

Question asked by jcosano on Jun 8, 2011
Latest reply on Jun 9, 2011 by frederikheremans1
<serviceTask id="mailWorkOrder" activiti:type="mail">
  <extensionElements>
     <activiti:field name="charset" stringValue="ISO-8859-15" />
  </extensionElements>
</serviceTask>

and I obtain this error


Uknown exception
org.activiti.engine.ActivitiException: Incompatible type set on field declaration 'charset' for class org.activiti.engine.impl.bpmn.behavior.MailActivityBehavior. Declared value has type org.activiti.engine.impl.el.FixedValue, while expecting java.lang.String
   at org.activiti.engine.impl.bpmn.helper.ClassDelegate.applyFieldDeclaration(ClassDelegate.java:178)
   at org.activiti.engine.impl.bpmn.helper.ClassDelegate.instantiateDelegate(ClassDelegate.java:151)
   at org.activiti.engine.impl.bpmn.helper.ClassDelegate.instantiateDelegate(ClassDelegate.java:144)

I try with expression and I obtain same error but referenced to expression…

pd
I search in documentation, forum and google  :roll:

Outcomes