How to convert "Collection of Objects with attributes" to JArray?
I've created a webservice that passes the received data from my api to a "Collection of Objects with attributes" parameter inside my business process.
I would like to know how can i convert that business process parameter to a JArray.
JArray jarray = Get("ProcessSchemaCadastros");
This is the line i have in my script task to get my data from business process parameter.
Like
I found a way to pass my problem, instead of trying to convert into a JArray i used:
var entities = Get<ICompositeObjectList<ICompositeObject>>("WebService1.UsrWBCadastros_Out");
then i just worked with the data from 'entities'.
It's much easier to transfer a JSON from the web service to a text variable in a business process. Then parse the JSON in the business process.
I found a way to pass my problem, instead of trying to convert into a JArray i used:
var entities = Get<ICompositeObjectList<ICompositeObject>>("WebService1.UsrWBCadastros_Out");
then i just worked with the data from 'entities'.