Post by Eddie Hartman Post by monnewbie3
Hello, I'm using the taddm connector in NON idml mode to iterate over classes that have an implicit relationship(s), these relationships are one to many.
I'm unable to retrieve all the child records, only one of them.
Each one of these implicit relationships contains a $cycle value.
I'm outputting these values with the JSON parser to a file.
For example : Grouping patterns have many selectors.
I'm able to get the groupingpattern no problem, but I'm only able to return the first selector.
I think I'm missing something simple that I can't quite put my finger on, Any help would be great! Thanks
It's been a while since I worked with TADDM, but let me ask this: is your problem that you don't see the links, or that you have trouble dealing with the JSON? If you can share a bit of that JSON payload maybe it will shed some light.
Thanks for the reply Eddie;
I can see the data links inside of the TADDM connector (it's set to Depth 3), the problem is that it only fetches 1 row of many.
Every time a loop should happen, inside of the data connector exists an attribute called $cycle.
In the IBM docs is says this:
The $cycle attribute is used when a loop in the TADDM data is detected
Here's some JSON for a grouping pattern, everything is good except when it hits the selector:
// This should technically be an array of selectors, but is an object
"displayName":"I am A Selector (1 of 3)"
I would assume there is some way to iterate over these records when I encounter the $cycle attribute.