Not possible to write a rule to check a condition on parent and child node both
t's not possile to write a rule which checks on a condition on a node and it's sub-node together dynamically. Here is the example. I want to write a rule which looks at all claims, check for the claims.claimantName == 'john' and claims.exposures.type='liability' and claims.exposure.xyv.type='gfd'.
In other words, all these 3 conditions should satisfy for a given claim.
It should check for all the claims and check their claimantName and exposure.type and exposure.xyv.type of that claim.
Hey man! Thanks a lot for opening this. Could I ask you to format the JSON a little so I can understand it.
Hey man! Thanks a lot for opening this. Could I ask you to format the JSON a little so I can understand it.
Thanks, I added the sample json document as an attachment