I'm using the Rules Action Set Data Value
to set a taxonomy term for a specific user (uid= 75). The tag field exists in the user entity, and is set to "Unlimited".
There's nothing complicated about the rule, which looks like so:
{ "rules_invited_user" : {
"LABEL" : "Invited user",
"PLUGIN" : "reaction rule",
"REQUIRES" : [ "rules" ],
"ON" : [ "user_presave" ],
"IF" : [ { "data_is" : { "data" : [ "account:uid" ], "value" : "75" } } ],
"DO" : [
{ "data_set" : { "data" : [ "account:field-user-tag" ], "value" : "27608" } }
]
}
}
I can set the term, but if there's another term set already for that user, it's overwritten.
How can I set a new term without overwriting an existing one?