Entity reference field selection

Created on 1 November 2023, 12 months ago
Updated 2 April 2024, 7 months ago

is there any way to send an email to all users in same role when save node if a specific term has been chooses.
for example:
[x user ]registered user, create a node with a specific data, if a term has been selected it will send an email notification for all user in ( role with special client register ) that ( this [ user x ] created a node [title & link ].

💬 Support request
Status

Closed: outdated

Version

1.1

Component

Documentation

Created by

🇪🇬Egypt amirelrakib

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @amirelrakib
  • Issue was unassigned.
  • 🇩🇪Germany jurgenhaas Gottmadingen

    This is certainly possible. If you browse through the available sample models in the Library, you can find a lot of examples on how to send emails to a list of users. You will need to modify that towards your own selection criteria, though,

    Your model would have to start with the event Insert content entity and then you would have to use one or many conditions to verify that all your requirements are met and then you can loop through the user list and send each of them an email.

  • 🇪🇬Egypt amirelrakib

    #jurgenhaas
    Really thank you for your replay.
    i can see the library and also i do many test with event.
    but i cant find any solution when " insert content entity " and the admin user select for example term with name " Apple " after save it should check the selected term and then do something like send email to users grouped by role.

  • 🇪🇬Egypt amirelrakib

    Why i cant send [node:url] when using trigger but when i use normal send email i get the [node:url]
    please find the attached attached

  • 🇩🇪Germany jurgenhaas Gottmadingen

    The sub-process X1 doesn't know any entity other than the user, which is forwarded to that custom event by Trigger X1. If that custom event should be aware of the node entity from the calling process, then you need to forward that entity as a token as well.

  • Status changed to Postponed: needs info 10 months ago
  • 🇩🇪Germany jurgenhaas Gottmadingen

    What's the status on this?

  • Status changed to Closed: outdated 7 months ago
  • 🇩🇪Germany jurgenhaas Gottmadingen
Production build 0.71.5 2024