I have an object called ItalVinculacion, and inside it I have to read the content of ItalProduct, which is also an object, and obtain the values ​​of ItalEjeAplicacion and Type, which are objects within the product.

This is my code:

var autoId = Get<Guid>("IdAuto"); // ID del auto en ItalAutosNormalizados
var...

MoreLess

Like 0

Like

2 comments

Try using ItalEjeAplicacionId instead of ItalEjeAplicacion. This is the only assumption for now.

Show all comments (1)

Hi Team,



We are using an OOTB Webservice section to call the (GET) REST API endpoint and the response collection is captured in the "Response Parameter" of that web service. The response has a nested collection of data.

 

We are currently using the Script task to read the response data of a web...MoreLess

Like 0

Like

3 comments

Hello,

In order to process the collection inside a collection, you need to do the following:

1) In the process, create a new parameter and add...MoreLess

Show all comments (2)

Hi,

I have a business process where I need to read the read element values in a script task.

When the read element is set to "read a collection of records" I'm using the following code:



var AccountsData = Get>("ReadDataUserTask12.ResultCompositeObjectList");

var AccountData = AccountsData.First();



var AccountAddress="";

AccountData.TryGetValue("Address", out AccountAddress);

What change do I need to do when the read element is set to "read the first record"?

Thanks,

Raz

Like 0

Like

3 comments

string name = string.Empty;
string email = string.Empty;
Guid RecordId = Guid.Empty;
 
/**
 * This approach should not be used...

MoreLess

Show all comments (2)

Hello,

I am trying to implement a web-service integration that provides a collection of fields as a response, and adding it to an auto-generated page to show the results. Can someone guide me how I can implement this functionality to grab fields from a collection and show them as separate individual fields?

Like 1

Like

2 comments

I think it depends. If the quantity of fields you need is static and will not change, you can just read individual values and point them to...MoreLess

Show all comments (1)

I have a business process that reads a collection of data.

Two of the fields that are being read are datetime fields.

Because the read data process reads many rows, I'm reading those rows in a script task and using the following code:

var ProductLines = Get>("ReadDataUserTask1.ResultCompositeObjectList")...MoreLess

Like 0

Like

1 comments

Hi Raz, 

Could you please provide a full script-task code you use so we will be able to test it at our end?

Regards,

Anastasiia

Show all comments

I was trying to choose a random user as a sender of the automatic email in Business process.

I wanted to avoid development in C#. Using only business process elements as in the cloud version. Creatio Sales Enterprise v.7.16.



The workaround I found for random is a formula like

RoundOff(DateTim...

MoreLess

2 comments

Dear Yuriy,

Thank you for the idea! I will definitely pass it to our R&D team so they could consider implementing the following functionality.

Best regards,

Angela

Show all comments (1)

I have a question about working with record collection from read data element.

My case is to take all tasks planned for the next hour and send email to them owners. 

I’d like to ask if it is possible to get a task ID, one by one, base on the collection, then read the necessary data from the task and send an email to the owner. (like in schema below)

Like 0

Like

3 comments

Dear Paulina,

The task you described can be implemented via the process, but it will require some additional development. When the process...MoreLess

Show all comments (2)