Add a list of things to a list of users

I am wanting to add a list of all Discount Types to a list of all users and I’m stuck

I have set up an API workflow on a list

On the workflow I have

On the API workflow I get an error

What am I missing???

Thanks in advance

Hi @motorhome

Your field “Discount" is a List, but in your Step 1, you are using add, which is used to add a single thing. Try changing “add” to “add list”, since your value is a List of Discount Types.

BTW, “set list” is also an option, with the difference being that “set list” will overwrite the field completely, while “add list” will append the new list to what already exists in the field.

2 Likes

This assumes your activediscounttype field is expecting a list. If not, then you will need to change your approach so that you have just a single discount type to be added.

Thank you @mebeingken. You got that in one. Just a quick change to add to add list and all worked perfectly. Thanks for your great help

Gail