How to pass array values in Custom Rest Activity in a workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2020 06:11 AM
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
The values i passed for testing
The error i got
What is the correct way to give...... any help please ????
- Labels:
-
Orchestration (ITOM)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2020 11:15 PM
yeah i have done the same. In the rest message given the JSON Content still it's not taking the arrays

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2020 09:11 AM
Hi,
Test it using REST message and then with activity. Check if this first works in REST message by using TEST button.
Thanks,
Ashutosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2020 09:24 AM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2020 09:33 AM
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