Forum Discussion

SL12345's avatar
SL12345
New Contributor III
4 years ago
Solved

XML - How to get value from actual position based on another value

Hi Snaplogic professionals, i have question how to design pipeline/condition properly. Lets say i would like to extract ‘Id’ of ‘Branch’, only if ‘Ident’ of current branch is “Capital” iam able ...
  • nsingam's avatar
    4 years ago

    Hi,

    Try to use the below expression. It will give the Id of Ident Captial.
    ($Business.find(x => x.Branch.City.Ident == “Capital”)).Branch.Id