Timeline for Set value on newly created node using Rules
Current License: CC BY-SA 3.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 21, 2016 at 11:09 | vote | accept | Gergo P | ||
Jun 21, 2016 at 11:09 | comment | added | Gergo P | Already fixed it. Wonderful. Thanks again Neograph. | |
Jun 21, 2016 at 11:01 | comment | added | Gergo P | Thanks Neograph. This is exactly the solution I was looking for. Give me some time to rewrite it to fit my custom values. | |
Jun 21, 2016 at 10:01 | comment | added | Pierre.Vriens | Thanks for the updated answer, interesting! Even without any rules condition needed (as in your original answer). I look forward to OPers feedback about it also. PS: and it answers my original comment. So +1 | |
Jun 21, 2016 at 9:57 | history | edited | Neograph734 | CC BY-SA 3.0 |
deleted 148 characters in body
|
Jun 21, 2016 at 9:51 | comment | added | Neograph734 | @Pierre.Vriens you are free to write your own answer if you feel mine would not work. It is updated with a proof of concept. Here is the simplytest.me page: dr3br.ply.st it will run for another 23 hours. | |
Jun 21, 2016 at 9:50 | history | edited | Neograph734 | CC BY-SA 3.0 |
Updated with proof of concept
|
Jun 21, 2016 at 9:42 | comment | added | Neograph734 |
@Pierre.Vriens OP already managed to create a node after saving a new one (so I am assuming the after saving a new node event). This way both nodes are already available in that single rule. Simply add an action below the creation of the new node to set the data value, then save the node again.
|
|
Jun 21, 2016 at 9:31 | comment | added | Neograph734 |
@Pierre.Vriens your second question was already in the original answer Make sure to set the value of your new 123-entity to refer to the xyz entity.
|
|
Jun 21, 2016 at 9:31 | comment | added | Neograph734 |
Would you do this in a single rule? Personal preference, I probably would. Which value, or token, would you use to set the value The value of the xyz entity. The rules data selector is pretty powerful and it will guide you in selecting the right property.
|
|
Jun 21, 2016 at 9:29 | comment | added | Pierre.Vriens | Would you do this in a single rule? If not, which Rules Event would you use for the additional rule? Also, which value, or token, would you use to set the value? | |
Jun 21, 2016 at 9:20 | history | answered | Neograph734 | CC BY-SA 3.0 |