Hi so I have a person select component. The initiator will select a person and basically I want to fetch their email and send a email to them. Is there a way to get their email address this way?
Hey @MsMay,
If the variable you have is the id of the user then you can use the IdmIdentityService
to query that user and get its email.
e.g.
idmIdentityService.createUserQuery().userId(userId).singleResult().email
In case you are not using the Flowable IDM, then you can write your own expression with your own logic that would fetch the email.
Cheers,
Filip