Add list of values into an account attribute

Hi,

I get a attributes which is a list of values, How can i add them to an account attribute in a workflow. When I use patch, old value is getting replaced with new value.

Any suggestions would help

In your patch, what are you using for the β€œpath”? If you use something like the following, it should preserve the existing values, while adding the new value:

[
    {
        "op": "add",
        "path": "/attributes/attributeName/-",
        "value": "new value"
    }
]

The β€œ-” at the end of the path may be what you are missing.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.