Время создания
Filters

Hello Community,

We are experiencing an issue with calculated fields in Creatio using the HandleViewModelAttributeChangeRequest handler, as described in the official documentation.

The implementation generally works as expected, but we've observed a problem when users input decimal values quickly. For example, when entering “8,11”, the handler sometimes receives only “8,1” — effectively missing the last digit. This seems to happen because the handler is triggered before the full value is finalized in the UI.

We would appreciate any help on the following:

  • How does the Creatio UI handle attribute change events internally?
  • Is there any debounce or delay mechanism before triggering HandleViewModelAttributeChangeRequest?
  • Is it possible to delay or debounce this handler to ensure that the value has been completely entered before processing?

Are there any best practices or alternative patterns recommended by Creatio for implementing calculated field logic that depends on precise and complete user input?

Best regards.

Like 0

Like

2 comments

That is an annoyance (even worse for lookups since the change request fires as they are typing in a value, before they've actually selected an entry in the dropdown). 

You could maybe try using the blurred event of the control (so it only fires once they tab out of the control), instead of the change itself. See https://community.creatio.com/questions/which-are-events-field-can-be-handled-freedomui

Ryan

Hello Ryan,

Thank you — I’ve tested the implementation and it’s working correctly.

However, we would like to improve the UX by also triggering the update when the user presses Enter, without needing to leave the field.

Do you know if there’s any supported approach or customization that would allow us to trigger the handler on Enter key press within the input field?

Looking forward to your thoughts or suggestions.

Thank you again!

Show all comments

I am trying to update a decimal field using a formula (within a business process) which calculates two integer value fields. The result is getting displayed as either 1 or 0, so I am assuming I need to carry out some sort of (decimal) conversion. This is the query. Anyone know best way to achieve this?

(([#read 1.First item of resulting collection.Int1#]-[#read 1.First item of resulting collection.Int2#])/[#read 1.First item of resulting collection.Int1#])*100

 

Like 0

Like

5 comments

you can use Convert.ToDecimal( (([#read 1.First item of resulting collection.Int1#]-[#read 1.First item of resulting collection.Int2#])/[#read 1.First item of resulting collection.Int1#])*100 )

Julio.Falcon_Nodos,

thanks for reply. I did try that before but for some reason it keeps returning the value as 0.0 when I know the correct value is not that. Strange

have some examples? to understand

Julio.Falcon_Nodos,

I think the issue was with the number of decimal places it was creating. I have updated the field to an Int (as I would prefer that anyway). This is the calculation I am now using but it is still returning 0. 

Convert.ToInt32(RoundOff((([#Databowl Volume#]-[#Delivered Volume#])/[#Databowl Volume#])/100))

Hello,

I recommend enabling tracing for the process and running it. This will help to track the record data which is passed to the formula. Please note Convert.ToInt32 will return an integer. Julio's recommendation to use Convert.ToDecimal is a valid approach.

Show all comments
Parallel
execution
Financial_Services_Creatio_lending_edition
8.0

Hi everyone,

I am currently working on creating a custom service in Creatio, where I need to execute a large number of tasks and create records in multiple objects. These tasks take some time to execute, and to avoid any latency, I would like to execute these tasks in parallel, as some are independent from one another.  

Does Creatio offer a customized implementation for parallelism (I saw that it had its own implementation of background execution)?

How can I implement this approach for parallel execution of tasks in Creatio and how can I handle the user connection and the context data in these methods?

Thanks in advance for your help!

Like 0

Like

0 comments
Show all comments
Studio_Creatio

Hi;
I read an element from Preconfigured.Page on script task

The default value of this element is take from reading Task
when reading task return an empty entity in one environment it return empty string in other the addres to reading element

Like 0

Like

3 comments

Hi!

Could you please advise how we can assist with this request?

Yelyzaveta Shchyrova,

Hi;
I think that there is some settings because in one environment when I read  attribute from preconfigured page it return an empty string in other it return address to reading task {TaskGuid}. {Table Guid}.{Column Guid}
In this case i solved it by function {Element} ?? string.Empty
but i don't now where such error could  appear.

Hello,

Can you provide screenshots with the configuration of each element involved in the behavior?

Thank you.

Show all comments
Copilot
configuration
Studio_Creatio
8.0

Hello,

I have contacted customer support to enable the AI on my local deployment. I have made all the changes as mentioned by the support.
 

I have enabled co-pilot features.

I have set the system settings - IdentityServerUrl, DefaultExternalAccessClientId, IdentityServerClientSecret, IdentityServerClientId, AccountEnrichmentServiceUrl with respective values..

But when I am trying to use the AI seeing below error in the network tab:
 

errorCode: "IncorrectConfiguration"

errorMessage: "IdentityServer auth failed with [BadRequest] invalid_client\n" 

Something is wrong in the configuration but not sure what's wrong.. Can anyone help debug and fix the issue.. TIA

Note: I have already reported this issue with support, not heard anything yet. As this is a blocker for me so posting it here in hope to get a solution.

Like 1

Like

4 comments

Hello Sagar!

Thank you for your post! We are already working on your case, which has been reported to our support team, and we will continue our communication in that case.

Have a great day!

Is there official documentation on the steps need to activate on-premise Creatio AI ?

Damien Collot,

No, we need to contact the customer support.

😕

Show all comments