After recent upgrade I can't do anything with send email process block, after it's clicked console shows this error:

Any recommendations?

Like 0

Like

1 comments

Hi,

Check all update logs - this could happen if update is finished with errors. If there are no errors try to generate all source code and compile all in configuration. 

Show all comments

After updating creatio from ver. 7.12 to 7.15.2, when I try to change a business rule on a page i get the following error:

Has anyone found a solution for this?

Like 0

Like

2 comments

Dear Bartosz,

Most likely you've done some modifications in the business rules through the page schema. The error 'Unexpected Token in JSON' indicates that your JSON code has a syntax mistake (wrong/redundant letter, symbol, etc.) In your case this symbol is "!". You can use your browser development tools to debug the code and find the error. You can also approach the support team via support@creatio.com to investigate the update issue in your particular environment. 

Regards,

Dean

I've found the error and if I remove it, than page lets me modify business rules normaly, but why I can't add an if to a filter data business rule?

Show all comments

Hi,



I need help to write the formula for "  Net Amount " in a business process.

The business process is as below screenshot.

image.png

When I am trying to use Selection result in Formula popup  I am getting the following error: "Process element "Selection result" not found. "  

 

I need to apply a filter in Commission Rules Selection based on that "Net Amount will be calculated. 

The criteria are as below. "Using the [Distribution_Channel] in the policy register object, query the Commission Rules for that [Distribution_Channel] and cycle through each commission rule. Each rule represents a single Bill. Use the [Commission_Rules.Rate] and [Commission_Rules.Rate_Type] as an input in the formula.

IF [Commission_Rules.Rate_Type] = Percentage

Net Amount = [Base_Premium] x [Commission_Rules.Rate] ELSE

IF [Commission_Rules.Rate_Type] = Flat

Net Amount = [Commission_Rules.Rate] "



Thanks in advance.

Like 0

Like

2 comments

Hi All 

Please give me any idea how to write the formula for the above condition or suggest any other approach.

Dear Jitendra, 

For if statement in a formula you can use conditional operator :

https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/operators/conditional-operator

However, unfortunately, you can't loop through records in the formula. To fulfill your business task you would need to use script task, selecting the needed Commission rules records, looping thorough them and creating Bills based on it. 

Here are academy articles that would help you with that: 

For selecting Commission rules with a filter

https://academy.creatio.com/documents/technic-sdk/7-15/introduction-13

https://academy.creatio.com/documents/technic-sdk/7-15/retrieving-information-database-select-class

For adding new Bill

https://academy.creatio.com/documents/technic-sdk/7-15/working-database-entity-entity-class

Show all comments

How large of an Integer can an Integer field hold?  Is it a smallint, int, or bigint?

https://docs.microsoft.com/en-us/sql/t-sql/data-types/int-bigint-smallint-and-tinyint-transact-sql?view=sql-server-ver15

Like 0

Like

6 comments

Maximum value integer field can hold is 2147483647 and you can test in on your side as well - the system won't allow you saving numbers greater than 2147483647.

To add to what Oscar said, the SQL database type is int, but the restriction is also due to the .NET datatype in the entity, which is an Int32 (an Int32 has a +/- 2147483647 max size) https://docs.microsoft.com/en-us/dotnet/api/system.int32?view=netframew…

Ryan

Add comment

Oscar Dylan, Ryan Farley,

Thanks.  I've changed my field to String since the values are out of range.

is there any way to accept bigger values? in my case I'm working a project to manage public works, such as roads, dams, stadiums, etc., and the amounts are very large.

Also I saw I can introduce larger decimal values, this have no logic why I can introduce 52.437.560.581,00 and not 52.437.560.581? In the case of customer they didn't use decimals, price of the public works are Integer

Julio.Falcon_Nodos,

this is .Net Framework restriction and Creatio can't really do anything about it. They could only create a long datatype for big integers

Show all comments

Hello,

Is there any way to enable the user to download all attachments for a record as a packaged ZIP file? I have see other programs with the feature like "Download as ZIP" where it will take multiple files and zip them in a single file for download for the user.

Like 1

Like

1 comments

Hi Reid! 

We recently uploaded an application to the marketplace 

that allows you to download all the files of a section, example of an 

account, in a ZIP file. 

Check it here: https://marketplace.creatio.com/app/download-zip-button-creatio

Thank you

Regards

Show all comments

Can you set a default value for a lookup field? 

Like 0

Like

1 comments

Dear Heather,

Default values can be set via configuration for all replaced objects. For example if I want to set default Account for Orders I create replaced object for Order and and specify it in default value field: http://prntscr.com/qqg9kp. it can be selected from existing value, system setting or variable: http://prntscr.com/qqga4r. Please note that if selected default value is removed from the system it can lead to different issues so do not select values that can or will be deleted. 

Best regards,

Angela

Show all comments

When using Throw signal, there is no way to specify the record Id the signal is associated with.  What record Id is sent in the signal? How do you make sure that it is the record Id that you need to send?

For example, the process below does not provide a record Id with the signal.

Throw Signal

 

 

 

 

 

 

 

 

 

Catch Signal

 

 

 

 

 

 

 

 

 

Result

 

Like 0

Like

3 comments

A subprocess works, but I'm trying to limit the processes running on the server, so, I want to hand off the processing and not keep the parent process running.

If you need to use signals and reduce the number of processes running in your system you need to use event sub-process in your process and as a result complete several tasks in terms of one process. You can read more about event sub-process element here.

Show all comments

Hi,

I am trying to use Azure Active Directory as IDP SSO Provider and I have extended the user schema in Azure to track different custom attributes per user. These attributes get passed as claims in the SAML token. As part of JIT, I am now trying to map these claims/attributes from the SAML token directly to attributes of the contact as described in the article https://academy.creatio.com/documents/administration/7-15/setting-just-time-user-provisioning. The problem is while configuring the lookup "SAML field name converters to contact field name", under the column "Contact field name", I am unable to view the custom fields that I added to the Contact object. The field selection dropdown does't show the custom ones that I added. How do I resolve this?

Thanks in advance...

 

Like 0

Like

1 comments

Hello, 

Please compile all items in configuration and clear cache and cookies. After that you should be able to choose your custom column in a lookup. 

Show all comments

If I wanted to redirect the Delete for an attachment detail record to a business process, instead of deleting the record, how would I do that?

Like 0

Like

1 comments

Dear Janine, 

To do this you need to create a replacing schema for FileDetailV2 and override method deleteRecords, starting process inside this method. To start process from the js code you can try the article below: 

https://customerfx.com/article/programmatically-starting-a-process-from-client-code-in-bpmonline/

Best regards,

Dennis 

Show all comments

The functionality of custom messages in the Send email system action changed recently.  When I click in a text box and select Custom macro, I get the following error:

It used to just give me the same selections as for a function. I want to reference the process parameters, not an entity. How do I specify an entity for column selection or access the process parameters? Also, the Yes/No buttons make no sense here because it's not a question.

Like 0

Like

3 comments

Hello,

Our developers are currently working to resolve this problem in all applications. I'd suggest you to approach our support team via support@creatio.com to get this issue fixed on your website. 

Best regards,

Dean

Hi Dean is there a resolution to this issue in the last 2 years? I am trying to make a macro in a template and cannot

 

Dear Heather,

 

Thank you for your question!

 

The website needs to be recompiled in order for the changes to be applied.

 

Hope this helps!

 

Thank you!

 

Danyil

Show all comments