- Issue created by @mellowtothemax
- 🇩🇪Germany jurgenhaas Gottmadingen
You can start with the Presave content entity event and limit that to the entity type
user
. Then, after checking for the role with the Role of user condition, you can call a view with the Views: Execute query action and receive a list of nodes that have that user as the author. You can then loop over that list and update each node accordingly.All required components have been showcased in example models that you can find in the ECA Guide Library.
Thank you jurgenhaas → your reply was spot on. I followed your documentation and successfully accomplished the task.
A couple of things I had to do was use
[user:uid]
in the Views: Execute query arquments instead ofuid
and I also had to add the Pre-configured: Save content action in addition to thePromote content
as by itself the promote action does not autosave like thePublish
action does.Kind regards,
- Status changed to Fixed
7 months ago 11:25am 1 July 2024 Automatically closed - issue fixed for 2 weeks with no activity.