Read the collection of object in script task

Hi Team,

I can read the process parameter of Business Process in script task if it is string or number in an "Implicitly typed variable - var" as below.

 

1.var _recipientEmails = Get<string>("RecipientEmails");

2.var _totalRecords = Get<int>("TotalRecords");

 

 

how could we read collection of records parameter as in the screenshot?

var _collectionRecords = Get<?>("ContactRecordCollection");

 

 

 

Regards,

Bhoobalan P.

File attachments
Like 0

Like

2 comments

Hi Bhoobalan, 

 

You are welcome to check a suitable solution by the link below: 

 

https://community.creatio.com/questions/use-script-task-update-column-r…

 

Get<ICompositeObjectList<ICompositeObject>> parameter should work for a collection of objects.

 

Regards,

Anastasiia

Anastasiia Markina,

Thanks. 
 

Show all comments