Unable to cast object of type 'Newtonsoft.Json.Linq.JValue' to type 'System.String'

Scenario: When & is in argument

Steps to reproduce:

Current Behavior:

Expected Behavior:

Studio/Robot/Orchestrator Version:

Last stable behavior:
Last stable version:
OS Version:
Others if Relevant: (workflow, logs, .net version, service pack, etc):

Is there any escape character we can use so I can keep the ampersand within quotes?

Figured it out!

Was not an issue with the argument, but with the selector.
Had to replace β€œ&” with β€œ& amp;” (without the space between & and amp; to work

1 Like


It’s correctly working. what are the other letters of this kind?.

Senthilkumar V.