How to create an adobe campaign List using a json array of objects in a workflow
Hello,
i have a workflow where i create a json array using javascript activity and i want to create a new adobe campaign list (using js code) and add to it all the data in my json array using "javascipt acitivity" or "update list" activity.
can you please show me how i can achieve this operation in my workflow.
this is the code of my Js activity :
var arrayOfObjects = [{ "id": 28, "Title": "Sweden" }, { "id": 56, "Title": "USA" }, { "id": 89, "Title": "England" }];
vars.arrayOfObjects = JSON.stringify(arrayOfObjects);
Regards !
