I am trying to treat the response from a Rovo agent as a JSON object and reference it using dot notation. I have the agent response formatted correctly. Excerpt here:
{ "documentStatus": "PRD In Process", "documentOwners": [], "projectStatus": "", "prfaq": "", "epicTicket": "", "targetRelease": "", "designer": "", "techLead": "", "relatedDocumentation": [], "termsAndDefinitions": ""}
but I am unable to access any of the information outside the entire response.
I have tried using the 'jsonStingToObject()' method both as an entire variable creation and individually in line during the automation. I can not get any results with the jsonStringToObject call either in dot notation, or for the entire string.
Anyone here had success with either of these methods? Or know of a better one?
I'm not sure but are the agent responses JSON, I think they are text.
Do you get results, when using {{agentResponse.documentStatus}} or even simpler {{agentResponse}}
What are the responses?
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.