Help with executing changes to nodes on cron

Created on 29 June 2023, over 1 year ago
Updated 10 July 2023, over 1 year ago

Hi

I am trying to update nodes on cron. I have a view that lists all nodes of type 'article' that have 'Sticky at top of lists' checked and have a date in the past in a custom date field 'field_sticky_date'.

I have set up ECA as per the attached exported file. The ECA runs on cron and it is not showing any errors, but the nodes listed in the view are not updating. Am I missing a step? I used the sample ECA from here as a starting point to create my ECA.

Any help would really be appreciated.

Thanks

F

💬 Support request
Status

Fixed

Version

1.1

Component

Documentation

Created by

🇮🇪Ireland frankdesign

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

Comments & Activities

  • Issue created by @frankdesign
  • 🇩🇪Germany jurgenhaas Gottmadingen

    Had a quick look into the model and found one error:

    When you trigger the custom event x1 with the list of entities from the token stickyarticles, each time the custom event is triggered, it receives exactly one entity and that is known as the token entity for subsequent conditions and actions. So, in your action "Make Unsticky" you can leave the entity field empty to use the default, which is the entity provided by the event.

    Please let us know if that resolves the issue.

  • 🇮🇪Ireland frankdesign

    Thanks @jurgenhaas for the quick response. I tried that but it didn't work.

    However, I have since tried adding an additional step 'Entity Save' after the 'Make selected content not sticky' step and it's working now.

    Thanks for all your help

    F

  • Status changed to Fixed over 1 year ago
  • 🇩🇪Germany jurgenhaas Gottmadingen
  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024