We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Accessing data results in pagination script of data stream action

andymcdonald
Mega Guru

I have a data object coming as such:
{

  next:....,

  count:....,

  previous:...,

  results: [
    {...},

...

    {...}

  ]

}

 

I am trying to access an element in the results array without success.  

--> json expressions $.results and $.results[0].<element> both fail

--> $.results seems to be empty, like it has been stripped out.

 

Is there anything I can do to make this work?

0 REPLIES 0