I have tried the following code but it does not work.
event.set("[tags]", event.get("[tags]").push("PSY")) if event.get("[NAME]") != "ALPHA"
event.set("[tags]", event.get("[tags]").push("OUR")) if event.get("[NAME]") == "DTD"
If I use the + sign - it appends the new tag with the old tag to make it -- "DeltaPSY"
how should I handle when the "tags" field has null value. I think thats the problem. Please help
I want to add multiple tags based on specific value of different fields. I have tried using the add_tags functionality but that also replaces the old tags.