K2 Five - Unable to deploy workflow: "The expression cannot be evaluated"
kbt143391
PRODUCTK2 Five 5.0
BASED ONK2 Five 5.0
TAGSK2 Process Designer
This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.
Issue
When attempting to deploy a workflow, the following error appears:
"The expression ""[expression]"" cannot be evaluated."

Symptoms
There is an environment field that stores javascripts that you commonly used in your SmartForms, and in your javascripts you are using double quotes (").

Resolution
Replace the double quotes with single quotes (') for all environment fields that are storing javascripts, then redeploy your workflow again.

