I am new to Drupal. Trying to get it work with Rules module.
I have added new field (decimal type) to user: field_user_custom
which I can see in DB as user__field_user_custom
as a table.
I want to add value to this table on each article update.
I have setup rule as this:
Create a Reaction rule
React on Event: "After updating content"
Action:
a. Type: set data
b. Data Value:
@user.current_user_context:current_user:field_user_custom
c. Value: 888
However, on article update, this value is not updated. I have tested if the rule is applied with having System Msg
and it throws the msg but doesn't update the user field.
I doubt my Data Value is not correct. Which is why I have tried with this:
- user:field_user_custom
but this didn't help either. What am I missing?
sys msg
already.