ContributionsMost RecentMost LikesSolutionsRe: Router with more that 2 conditions Thanks for your quick reply. It worked. Router with more that 2 conditions Hello , I am creating a pipeline that should fetch the filetype from the expression libray file and based on the filetype it should write the file. But I noticed that though the condition written in the router is correct, it is routing to multiple path. For example as per the condition, it should only take the second path but all below paths are getting executed and as a result instead of single multiple files are written. Could someone help me to understand the router behaviour here. Re: Check array is empty or not bojanvelevski: $group.filter(x=>x.keys().length != 0).length > 0 Thank you so much. It worked. Re: Check array is empty or not bojanvelevski: $group.filter(x=>x.hasPath(‘ID’)).length > 0 Thanks a lot Bojan. instead if using ‘ID’ in json path expression is there any other way to check list is empty as the object ‘ID’ name is a dynamic one. Re: Check array is empty or not Gayathry: {} Thanks Bojan for your quick reply. Actually as per my requirement inside ‘group’ if getting a empty list ‘{}’, it should return false . But group.lengh is returning true even if list is empty(ie {}). eg: if JSON is like below it should return false. “group”: [ {} ] Check array is empty or not Hi Experts, I have a requirement where I need to check ‘group’ array is empty or not. Could someone help with the JSON path expression. Empty group array JSON looks like: [ { “group”: [ {} ] } ] Non empty group array json loiks like: [ { “group”: [ { “ID”: “002” } { “ID”: “003” } ] } ] Thanks in Advance.