You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Count nodes after mapping occurs

Received Response
edited Jan 11, 2021 11:53PM in Integration 22 comments


Loop over some values and count the number which match a criteria


Hi all,

Having a hard time trying to figure out how to do this. I have an integration that queries an external source, which returns a JSON list of objects, and a value for recordcount.  My integration then loops over the data and pulls out only the records it's interested in, and returns that as a JSON response to the caller, together with its own recordcount.

The issue I have is that the recordcount from the original query will not be the same as the count I want to return. So for example in my integration  when called returns the following JSON response:

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!