cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

Escape unknown characters in Web request action

Jump to solution

I am using the web request action (for the first time I might add) and in the json I pass in the initiator of the workflow as follows:

However, when I am the initiator that comes out as

the \f is replaced by a symbol.

How do I stop that?  I am hoping it's super simple and I am being really silly.

Labels: (2)
0 Kudos
Reply
2 Replies
Workflow Hero

Re: Escape unknown characters in Web request action

Jump to solution

I'm guessing that \f has been interpreted as an escaped character by the receiving web service and it needs two backslashes to make it valid in json

You could use the regular expression replace on the initiator variable & replace the single '\' with a '\\' e.g. (\) as the expression & \\ as the replacement

0 Kudos
Reply
Workflow Hero

Re: Escape unknown characters in Web request action

Jump to solution

This worked - thanks GPJ

0 Kudos
Reply