In order to access it from a JObject I’d simply do some string manipulation with .replace to add the additional quotes needed in order to type <">
For the awkward reverse process you intend to do (I can only describe it as “eval” from JavaScript:
There is really no need to do that.
If you client tells you to change to X you set your values in an Assign to X.
With an attended process and input dialog with some buttons or drop down?
to the question about is an EVAL() available - Short Answer: No, not available in current available Infrastructure ( some additional words on it refer below)
Your motivation is well understood and not unusually. Have a look on following approach on how we can overcome the missing eval and can implement in UiPath essential
Lets start an implementation with following Commands ( in String which you can set / use in your config JSON)
execute the command by using the provided parameters
e.g. the date string
e.g the add days value
Testing this we got this output:
So the solution approach
is limited on that it can handle only commands that are implemented or well known.
it is strict to its implementation risks not open the doors for hack and exploit by executing malicious code
About evals / other infrastructure additionals that can be checked within RnD
Roslyn plattform with scripting and the RunAsync method (not available / not ready to use)
other nuget packages implementing this
routing to under technologies like Powershell, Python …
But as mentioned above:
it is strict to its implementation risks not open the doors for hack and exploit by executing malicious code
the solution is not open to execute any code fragments and requires the implementation of getting implemented the commands. So using it we would be very relaxed when Bot code goes under a security check or implementation audit.