cancel
Showing results for 
Search instead for 
Did you mean: 

UTF-8 character

Rashmi9796
Champ in-the-making
Champ in-the-making

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.

1 REPLY 1

EddieMay
World-Class Innovator
World-Class Innovator

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);
}());
Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!