Views:

Question:
How do you store strings containing single quotes to a keyword field in a workflow? Currently, the string is always broken up when using the following KBA.
KBA-36107  · DocuWare Support Portal

Answer:
When storing strings containing single quotes, we need to add an escape character before the single quote so that it will not cause the value to be broken up when stored in the keyword field.

For example, in the above KBA article, the following arithmetic expression is used when referencing the string, 
"'"+GV_text01+"'"

To add the escape character, you'll need to use the following expression.
"'" + Replace(GV_text01,"'","\'") + "'" 


KBA applicable for both Cloud and On-premise Organizations.

Comments (0)