Hi All, I have setup a web service in Creatio that is working fine when I send parameters with data.

 

Sometimes I gonna call thie web service without all the parameters on the query, just one or more, it will depends on othe step before.

 

Is there a way to have a web service set up in Creatio with all parameters, but only make the call using the parameters that are not null?

Like 1

Like

3 comments

Hello!

 

It depends on whether the parameters with NULL values are required or not.

 

You can try leaving out the NULL parameters and see how the service responds. If the call fails with an error, then you'll need to include those parameters.

 

Let us know if you need further assistance!

If the API you're calling is picky about the parameters being included without values, you can add the same service method twice, once with the params, and one without. Then just call one or the other based on the needs.

Thanks for the replies, would be nice to have a way to disable a parameter, for situations like this.
For thie particular API I´m calling there are about 10 parameters available, and the way Creatio is doing, it´s sending all (query) parameters, even though its value is empty.
I´m trying to find a work around or a way to call this API sending only the required data.

Show all comments

Hi community,

 

I developped package A and package B.

The package B depends on package A.

In the package A I configured a translation for the field TableA.column1.

In the package B I replaced the translation for the field TableA.column1.

Is it possible to restore the default translation set up in package A?

 

 

Like 0

Like

3 comments

Hello,

 

If you have these translations in package A, yes, you can delete the replaced data from package B and the translations from package A will be displayed.

Kalymbet Anastasia,

Thank you Anastasia.

Do you suggest removing the  replacing "client module" from package B?

If so, I would lose my customizations such as fields added

Hello,

 

All translations are stored in the Translation section. If I understood you correctly, they have recently been changed.

If they were simply changed and are not stored in package A, you won't be able to restore them.

 

In the section, these translations are the same for all packages.

https://academy.creatio.com/docs/8.x/no-code-customization/customization-tools/custom-localization/localize-ui-via-the-[translation]-section

Show all comments

Hi I have faced with issue, that I want to add a gif of a loader to the left side of the caption to inform  user that this field is calculating and change it depending on its content For example if it is empty there should be loader gif if it is not it should be like a green tick.

 

Let's say I have already added MyIcon.png and I have field with this data:

 

{
				"operation": "insert",
				"name": "AgbRegisterFormMessage",
				"values": {
					"layout": {
						"colSpan": 23,
						"rowSpan": 1,
						"column": 1,
						"row": 1,
						"layoutName": "AgbIssuanceTabGridLayout"
					},
					"bindTo": "AgbRegisterFormMessage",
					"enabled": false
				},
				"parentName": "AgbIssuanceTabGridLayout",
				"propertyName": "items",
				"index": 3
			},

 

Like 0

Like

1 comments

Hello Behruzbek Mardonqulov,

Thank you for your question. Could you please provide more details to your question: like what business logic should this perform, what exactly you cannot achieve etc. I would like to help, but i do not think that i fully understand your question.

Show all comments

I'm receiving item names from a third party via web services in JSON format. I want to trigger that web service when I click on a dropdown field, and the response from the web service should populate in the clicked dropdown. Can you please help me with this?

Like 0

Like

2 comments

Please use another approach in your business task. It seems impossible to set the response from a third-party service in the dropdown.

You can implement a virtual entity with entity executor on the backend which'll call the 3rd party service and parse the response into entities.
On frontend you'll just use it as a regular object. 

Show all comments

Hello, community,

I am running a business process, but after 100 iterations, the process stops, and I get this error: 'Operation interrupted to prevent recursive execution. The maximum allowed background recursion depth of 100 has been exceeded while performing these operations.'
I researched the issue and adjusted the 'Maximum Number of Repetitions' in the business process configuration, as well as a system setting called 'MaxProcessLoopCount.' However, I am still encountering the same error.

Like 0

Like

1 comments

Good day,

The issue you're encountering is related to the number of records being passed to the subprocess. Here are some suggestions for resolving this situation:

1. Add or adjust recursion trigger conditions:
   - For instance, if the trigger is based on changes to the `Contact.Age` field, consider adding a condition to ensure the age is not empty before initiating recursion.

2. Redesign the process to avoid recursion:
   - Replace recursion with iteration: Instead of processing records one by one with recursion, you can read and process multiple records in a sequential manner, ensuring that you do not handle a new record until the current one is fully processed.
   - Consolidate changes into a single process: Rather than reacting to various changes across different processes, use one process to handle all necessary changes at once. For example, initiate triggers in a single business process (BP) with all modifications related to a specific entity, which helps in minimizing and managing recursion more effectively.

It is crucial to first review the process logic with the above suggestions, as increasing the `MaximumBackgroundRecursionDepth` parameter could lead to application performance issues, such as slowing down or exhausting server memory, which might result in application restarts or stops.

In your system, the `MaximumBackgroundRecursionDepth` parameter is currently set to 100 (default is 100). The issue arises when the number of subprocess calls exceeds this value.

To address this problem, you may need to increase the `MaximumBackgroundRecursionDepth` parameter to accommodate all records, rather than only the initial 100.

Regards,
Orkhan

Show all comments

Can I combine the Result from business process and the data from object in the same report?

Like 0

Like

1 comments

Hello,
 

It is not possible to insert data from the process directly into the report, as the report uses information obtained from columns/related objects.
 

However, you can add an additional column at the object level (or create an object that has a connection to the record, depending on the task) and include it in the report template. 

Before generating the report element, you can fill this field(s) with values generated during the process.
 

After generating the report, you can clear this column if needed. This way, during the execution of the business process, you will fill the column with the results of the business process, generate the report, and thus the process data will be reflected in the report. Afterwards, you can clear the column if necessary.
 

I hope this helps! Thank you for reaching out!

Best regards,
Pavlo!

Show all comments

Hi  creatio Community 

can formula Calculate the sum for fields ?

Like 1

Like

1 comments

Hello!

Could you please share a bit more information with us?

 

  • Where are you using the formula?
  •  
  • Which fields are you trying to calculate?
  •  

If you can let us know your goal, we’ll be happy to assist you further and provide the best solution.

 

 

 

Show all comments

can i add any aggregation function in report to return the sum for any fields ?

Like 1

Like

1 comments
Show all comments

Hi,

Is there a way to alter the open record event of a detail row in Freedom so that it runs a particular event that I want? I see some example of HandlerChain, but those are primarily from a button.



Example, instead of opening the edit record page of the product when clicking "Motherboard..." I want to change what it does.

Regards,
Solem A.

Like 0

Like

1 comments
Best reply

Hello,

 

Find the _sendRequest method in the core file like 1964.1a6d8f3494eb48eb.js. This will show that the request sent when clicking the record is "crt.UpdateRecordRequest" (on the screenshot below I've clicked the Account column value for the record in the "Job experience" list on the contact page):

So in case you need to modify the logic you need to add a check for the UpdateRecordRequest and make sure it's called when clicking the needed column value (using the recordId parameter for example).

Hello,

 

Find the _sendRequest method in the core file like 1964.1a6d8f3494eb48eb.js. This will show that the request sent when clicking the record is "crt.UpdateRecordRequest" (on the screenshot below I've clicked the Account column value for the record in the "Job experience" list on the contact page):

So in case you need to modify the logic you need to add a check for the UpdateRecordRequest and make sure it's called when clicking the needed column value (using the recordId parameter for example).

Show all comments

We have a requirement where client would send data as csv file. This file will be later processed via BPM process and record will be loaded into the creatio object. How and where this file can be stored within Creatio Cloud ?  

Please note the file is not an attachment to any record but rather records which is to be loaded in Creatio Database.

Like 0

Like

2 comments

Hello,
 

For product sites that are hosted in the Creatio cloud, AWS S3 buckets are connected by default and are used to store files.
You can also use the option of storing files in the database as well, but please note that this will lead to increased memory consumption at the database level.
When developing functionality that covers file uploads, we recommend using the "API for file management" that is built into Creatio products.
You can find a detailed description and examples of how to use the "API for file management" in an article on Creatio Academy, as well as the File storage options for storing files in Creatio.
 

Thank you.

Serhii Parfentiev,

Before deploying this on Creatio Cloud I need to develop this on my local Creatio set up

How to Validation of S3 Configuration:

"I have configured Amazon S3 as file storage in Creatio local following the 'File storage options ' guide. 
How can I validate that this S3 configuration is working correctly (I don't see anything in log)?
"Any existing API i can use to see how this work

What  Tables and Objects Involved in File Upload:

"Which Creatio tables or objects are involved in file upload and storage when using external storage like Amazon S3? Specifically, what tables store metadata and file details for uploaded files when it is not associated with any entity like Accounts or Contacts?

 Need these to access file from BPM"

Show all comments