textarea & workflow variable
How to work with textarea & workflow variable? In text area used multilines(enter was pressed while filling textarea). Then i try to use it in beanshell:
....
WorkflowManager wm = (WorkflowManager) pluginManager.getBean("workflowManager");
n = "#variable.vComments#"
wm.activityVariable(workflowAssignment.getActivityId(), "vComments2", n);
...
where vComments is workflow variable placed at form in textarea property
i get error
ERROR 18 Sep 2015 09:50:17 org.joget.apps.app.lib.BeanShellTool - Error executing script
Sourced file: inline evaluation of: ``import org.joget.workflow.model.service.*; import java.util.ArrayList; import j . . . '' Token Parsing Error: Lexical error at line 7, column 10. Encountered: "\r" (13), after : "\"\u0420\u0430\u0437": <at unknown location>