“user”: “ALICE UAT”,
“warningEmails”: “tnnnn; jjjjj”,
“keyCAMs”: [“Person, A”, “Person, B”, “Person C”],
“emailDelay”: “00:00:20”,
“JSONDelay”: “00:00:20”,
“offTime”: “02/19/2019 17:00:00”
I can extract the values for each string field using deserialise json and an assign activity that looks like
Config_Deserialised.item(“account”).Value(of string)
However, I need the keyCAMs field as an array of strings, and value (of string()) returns the error
Assign: Cannot cast Newtonsoft.Json.Linq.JArray to Newtonsoft.Json.Linq.JToken.
How do I get this field into an array of strings? I use it for a contains check later, so would a long string be an easier solution?
Log In using your UiPath Account to:
• get help with your automation projects
• share feedback, report bugs or just drop us any question
• become an MVP and get access to
exclusive events
• save your user preferences like themes and more
• automatically sign in to other services
• get in touch with our Forum staff