Views:

Question:
How do you store strings containing single quotes to a keyword field in a workflow?

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, 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 is applicable for both Cloud and On-premise Organizations.

Comments (0)