Event is not responding properly I created 2 rules with the same action, which sends Drupal logs to the site. One is Content is created with the After saving new content (rules_entity_insert:node) event; the other one is Content is updated with the After updating content (rules_entity_update:node) event. Also, they use the same Condition: Node is of type condition.

I am using a REST request to create/edit a node. However, when I do a POST, I am getting 2 logs in the site, which means that both rules are being triggered. PATCHing a node is working fine: A single log is created.

Am I missing something?

I am using the Rules module 8.x-3.0-alpha3. The action is programatically created.
Problem solved by https://www.drupal.org/project/rules/issues/2990211#comment-12716081


  I have another rule that modify the title of my node with event
  After updating content (rules_entity_update:node). But since that rule is necessary, then it should not be deleted but still I dont want
  to get a duplicate result when a node is created. So what I did, is I
  change the other rule that modifies the title into event Before
  saving content (rules_entity_presave:node) so it wont be called on
  node creation, and this works!