02-04-2020 05:15 AM
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.
02-10-2020 04:38 AM
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); }());
Explore our Alfresco products with the links below. Use labels to filter content by product module.