I am using activiti 6.0.0 , I use the activiti designer to build the workflows,
When i try to do execution.setVariable("varname","UTF-8 character") in a script block and revisit the block it becomes "???". How to solve the issue in the designer.
Hi @Rashmi9796,
Could you show a bit more of the code that you're using? There could be an scope issue: see here https://hub.alfresco.com/t5/alfresco-process-services/serialization-bug-in-scripts-with-jdk-gt-1-6-0...
Wrapping the call in an annonymous function might help?
(function(){ var rv = "hello"; execution.setVariable("result", rv); }());
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.