UTF-8 character

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2020 08: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.
Labels:
- Labels:
-
Alfresco Process Services
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2020 07: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); }());
Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!
Problem solved? Click Accept as Solution!
