Data Stream Flow Action Pagination - Response body expression

Community Alums
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

Community Alums
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

Community Alums
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.

Community Alums
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

Community Alums
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