Can I pass an array to a collection parameter via script task


Let's say that I use a script task to get a request from a third party application and that request sends creatio a json with arrays.


What I need to do is to insert that data into some tables.


Can I pass the array to a collection parameter and then use it in my business process or do I need to insert the data via sql in the script task?




Like 0



Hi Raz, 


In fact, an array will work almost the same as a collection, so it doesn't make any sense to pass array into collection, but in this case you need to read this json data and then pass it through the collection for your further actions.


Please check out some practical examples of how to read and update data in script task:………





Bogdan L.



Show all comments