Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
Array.Object is not usable as an Flow/Subflow output in a script - Known Error
  • >
  • Knowledge Base
  • >
  • Known Error (Knowledge Base)
  • >
  • Array.Object is not usable as an Flow/Subflow output in a script
KB0855554

Array.Object is not usable as an Flow/Subflow output in a script


2630 Views Last updated : Apr 8, 2024 public Copy Permalink
KB Summary by Now Assist

Description

When you have an output of a flow/subflow of type Array.Object, its output appears unusable when the flow is executed from a script.

It appears the conversion of the array of objects into a simple JSON structure is failing/not happening, and instead what is output from the flow is a raw dump of some kind of object which is unusable as an output of the flow/subflow in a script.

The output is different than expected.  Checked against the output of an action and the output is different.  The output includes the entire serialized version of the CO.  This can be seen in Orlando as well.

Steps to Reproduce

1. Create a subflow with an array.object output
2. Manually add two objects inside the array object
3. Call subflow from script
4. Inspect output

Workaround

If you are able to upgrade, review the "Where Found/Fixed" and "Fix Targets" tab of the problem record to determine whether any versions have a planned or permanent fix.


Related Problem: PRB1419217

Potentially Seen In

There is no data to report.

Fixed In

Orlando Patch 9
Paris Patch 3
Quebec

The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.