Data Stream Pagination - empty sourceItem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2024 07:23 AM
Hey Experts,
I'm trying to configure a pagination for a rest api in a data stream using flow designer.
As below the configuration of the data stream.
1. Pagination Setup Step :
2. REST Step :
3. Splitter Step :
4. Script Parser step : (for tesing purpose, I'm passing the string 'sourceItem' to the 'item' property of the output)
And finally the outputs of the data stream :
I created a flow to test the data stream action :
But when I test the flow, the log action message is empty :
I checked the response body of the rest api and everything is working fine, I also double checked that the item path is good '$.results', any solution to solve this pagination issue ?
Best regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2024 02:01 PM - edited 05-22-2024 10:18 PM
Hey there,
I think you may just need to parse your data in the script parser step.
You could do something like: