Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Data Stream Flow Action Pagination - Response body expression

Not applicable

Hi All,

The response body from external system contains parameters "@odata.count" and "@odata.nextLink" which holds the next chunk results that needs to be invoked.

find_real_file.png

As this is from Response Body then on the below pagination expression is not working as expected.find_real_file.png

 

The below thread talks about the response header but not about response body.

How to quickly setup new data stream action with pagination - Support and Troubleshooting (serviceno...

Also i referred the below video.

https://www.youtube.com/watch?v=F37zZURAw6E

Could you please share inputs to fix this issue.

Thanks,

Raghu

1 ACCEPTED SOLUTION

Not applicable

Hi All,

Create pagination variable and read the content from the response body:

$['@odata.count']

where @odata.count is the variable from the response body.

find_real_file.png

This worked out for us.

Thanks,

Raghu

View solution in original post

4 REPLIES 4

Not applicable

I tried for the below one:

find_real_file.png

but resulted into error message "Error: missing name after . operator,Detail: missing name after . operator"

Could you please help me in getting this addressed.

Not applicable

Hi All,

Create pagination variable and read the content from the response body:

$['@odata.count']

where @odata.count is the variable from the response body.

find_real_file.png

This worked out for us.

Thanks,

Raghu

Not applicable

@Ankur Bawiskar @Aman Singh  Could you please help me in addressing this issue.

@Sohail Khilji 

Hi,

 

Please find the below link, it uses kind of same logic.  i hope it helps...

https://mavembry.info/post/intune-servicenow-integration/

 

Thanks,

Sohail Khilji

kindly mark the answer correct or helpfull if it addresses your concern....


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect