Answer the question
In order to leave comments, you need to log in
How to pass list in one parameter to execute stored procedure?
For the test, I made the following code for the stored procedure execute.listResponse:
var groups_length = Args.list.length;
return groups_length;
https://api.vk.com/method/execute.listResponse?list="leprum,100"&access_token=my_token
{"response":12}
{"response":2}
Answer the question
In order to leave comments, you need to log in
UPD :
I would like to edit my answer so that new people do not fall for this crutch. The answer below is outdated, today VKontakte stored procedures support the split method . Now no crutches are needed, it would be enough to callreturn Args.list.split(",")
Today I ran into your problem, a very simple and quick solution came to mind.var groupList = Args.list; var group_ids = API.groups.getById({ group_ids: groupList })@.id; return group_ids;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question