Uploaded image for project: 'Automation for Cloud'
  1. Automation for Cloud
  2. AUTO-1873

Utility Functions on AgentResponse return nothing, causing failures in subsequent actions

XMLWordPrintable

    • Minor

      Issue Summary

      User was attempting to provide a string like "ISS-1,ISS-2,ISS-3" from a Rovo AgentResponse, then use the .split(",") utility function to get a list of strings for advanced branching which resulted in an error.

      See attached image.

      Steps to Reproduce

      1. Ask Rovo agent to provide a specific string like above
      2. Attempt to use it in an advanced branch with split or some other manipulation function.

      Expected Results

      The branch should execute three times with ISS-1, ISS-2 etc.

      Actual Results

      The below exception is thrown in the audit log

      Error: The provided smart value couldn't be resolved to an object

      Workaround

      No Viable Workarounds

      Attempted a significant number of workarounds, mostly variations of other workaround strategies, none of which worked.

      1. Copying the response into a new variable then branching
      2. Splitting into a new variable, then branching on that.
      3. Copying into a new variable, splitting that into another new variable, then branching on that.
      4. Copying and splitting and using our simple foreach commands `obj#` etc.

              Unassigned Unassigned
              a3e731decfe9 Christopher Coffey
              Votes:
              6 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated: