Escape unknown characters in Web request action


Badge +16

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.


2 replies

Badge +2

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

Badge +16

This worked - thanks GPJ happy.png

Reply