Forum Discussion
I believe the main issue is jsonPath is returning an array, so for Next URL you will need to index it with [0].
jsonPath($, "$entity.links[?(@.rel=='next-page')].href")[0]
And with it producing an array, a more appropriate Has next condition might be to check for the array length > 0. (Yet I suspect it will work as-is in this specific use case.)
jsonPath($, "$entity.links[?(@.rel=='next-page')].href").length > 0
- sriiyengar8 years agoNew Contributor II
Tried absolute path to JAR files. The issue happened to be a Firewall issue on the snaplogic groundplex that was resolved once the correct ports were opened