Get parent participant id and name by task

Hi:

  1. Im using a task in participant, so i want to get that participant ID and Name, how can i get it ? I think that participant is defined as task parent
  2. How can i get all children task in a process or participan?

Thank your help

I got all children task by participant, so i got that id but i cant get that name/label as i shown in the picture,
any ideas?

Please share a running / prototypical example that clearly shows what you’re trying to achieve, what is working and what is not.

Use our existing starter projects to quickly hack it or share your existing, partial solution on GitHub. Provide the necessary pointers that allow us to quickly understand where you got stuck.

This way we may be able to help you in a constructive manner.

Thanks :heart:

1 Like

Every element has a business object which is accessable via element.buinessObject. This business object has both the ID and the name.

1 Like

Thank you dude! Found it

1 Like

Always glad to help, bro!