Your UX is waiting ...interact, engage, explore in Las Vegas at CloudWorld 2023

Learn more
check whether member is descendant of any parent in groovy — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

check whether member is descendant of any parent in groovy

Received Response
51
Views
4
Comments

Summary:

how to find the the member is a descendant of any parent in groovy

Content (required):

How can we check whether selected member from pov is a descendant of any parent in groovy. we have hasChild() method, but i don't see hasDescendant() method. I tried pulling all descendants of the parent to a list and used contains method as below, but that doesn't work

goes to else part and get not found message

any thoughts on this?


Version (include the version you are using, if applicable):


Code Snippet (add any code snippets that support your topic, if applicable):

/*RTPS: {ServiceLine}*/

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!