How to pass array values in Custom Rest Activity in a workflow

krishna26
Kilo Expert

Hi Everyone,

We are supposed to pass a list of values in a particular parameter for doing the POST Call API

I have chosen the input type as Array & tried to pass the list of values but it's not working could anyone correct me please

 

find_real_file.png

 

The values i passed for testing

find_real_file.png

 

The error i got

find_real_file.png

What is the correct way to give...... any help please ????

8 REPLIES 8

yeah i have done the same. In the rest message given the JSON Content still it's not taking the arrays

Hi,

Test it using REST message and then with activity. Check if this first works in REST message by using TEST button.


Thanks,
Ashutosh

Hi Ashutosh,

I have tested the in the REST Message it self it's not working it's showing the same error message but when i tested in Postman it's working fine

Hi,

First try to make it work in rest message then only it will work in Activity.

Show me what error you get when you try to use REST Message Test button

Thanks,
Ashu