Hello,
I have an entity named XXX. I created a Many-to-Many relationship with the User entity to this entity.
When opening a new record, I added more than one user (in this example 3) and I want to get the email addresses of these users.
I am trying the following code in the protected formula field and the user ids are coming but I want to get the email addresses because I will send emails to these people via formula. How can I do it masters?
Thanks.
$userId = usersssIds;
$id = record\findMany('User', 10, 'createdAt', 'desc', 'id=', $userId);
output\printLine($id);
Output= ["64f6fde53a78363bf","5d0750b4736cdc843","5c324 7155 7bb104ae"]
I have an entity named XXX. I created a Many-to-Many relationship with the User entity to this entity.
When opening a new record, I added more than one user (in this example 3) and I want to get the email addresses of these users.
I am trying the following code in the protected formula field and the user ids are coming but I want to get the email addresses because I will send emails to these people via formula. How can I do it masters?
Thanks.
$userId = usersssIds;
$id = record\findMany('User', 10, 'createdAt', 'desc', 'id=', $userId);
output\printLine($id);
Output= ["64f6fde53a78363bf","5d0750b4736cdc843","5c324 7155 7bb104ae"]
Comment