I earlier used to use the “recipientEmailList”: [“”, “”] in this format while creating the workflows, but now it doesn’t take this i guess and rather asks for the recipient id in the builder.
I’m stuck at this and getting bad request - can someone please help me?
Yes, I also remember previously it looked like that, also i see the same in the previous workflows. But now it asks for recipient id - not sure whether it is new update or something?
@saurabh_raj - How does it look from backend? Can you try adding recipients from there directly? Export WF add recipients and import back or maybe use VSCode to directly update.
Yes, I’m trying from json itself and using recipientEmailList, but its not working out.. In the UI its still asks for the recipient id - as a mandatory field and shows as 400 bad request..
My guess is your SendEmail step was on Version 1, as that only allowed for 1 RecipientId, and that is what you are seeing. Deleting the step and re-adding it (As suggested by others) works here because it would have put the step on the latest version (Version 2). This situation can arise if you use a template that has older steps in it, or have a Workflow that is older that you are now updating or copying from.
For Reference, where is what the config for Version 1 looks like (“Send Email 2” step is Version 1) :