Closed (fixed)
Project:
Rules
Version:
8.x-3.x-dev
Component:
Rules Core
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Jul 2019 at 17:17 UTC
Updated:
12 Aug 2019 at 08:39 UTC
Jump to comment: Most recent
Comments
Comment #2
tr commentedComment #3
tr commentedThe error is because you used the input value "1" in the data selector in your "Node is Published" condition, but Rules expects a node object so you should have used "node" in direct input mode.
Here is a working Rule that fixes the problem - you may import this and examine it to see how to use that condition properly. I don't have the "social_post_twitter_tweet" action on my site so I used "Show a message on the site", which BTW is a lot easier to use for debugging! First get it working with the message, then you can replace the message with your own action.
Comment #4
aiphesHi, I have a question related to twig token in rules (sending mail). Do exist a list or a documentation to how to know which tokens are available to use in rules ,like a message send by the "send email" action. ?
thanks
Comment #5
mohammed76@aiphes just a friendly advice: I would open a new support request rather than asking an unrelated question in an already closed one.
That said, I don't think there exist any such list. what I usually do is to try to use the data selector to drill down into available words and then use them in the same style of a twigg token. {{ token.token }}
Comment #6
aiphesThanks for tips and advice ;)