Forum Discussion
What are the results if the filter is removed?
Usually when I am working on parsing JSON, there is some odd syntax missing or I am thinking about the filter differently than how to extract the desired result.
An alternative is to extract the entire array "custom_fields" and place the values in a new object, then loop through that instead of looping through the nested array.
------------------------------
Jim Harrison
transparency = knowledge + understanding : The Scrum Dudes
------------------------------
The filter doesn't seem to do anything based on my testing, so it's the same result in the activity log either way.
@Jim Harrison - do you have an example you can share? Maybe a screenshot of the flow in Pipelines or the Jinja code?
I've tried tons of different methods but can't find a solution.
- Looping through each custom field using the Loop step, then using if conditions in Jinja to get the value when the gid matches a certain value. Result: No value returned.
- Looping through each custom field using Jinja (see code in my orig post). Result: No value returned.
------------------------------
Frontman
------------------------------
- ChayceDuncan2 years agoQrew Captain
Have you removed the limit of 1 in the JSON handler? Your path looks like the JSON loop should be iterating correctly - setting it to a limit of 1 though stands out. I've never used that as I've never had a reason to limit the JSON response.
------------------------------
Chayce Duncan
------------------------------