Hi everyone,

Anyone have issue when open wizard tools like Section wizard, Business process editor more than 2 tabs.

Example:

tab 1, open the app in the homepage

tab 2, open section wizard

tab 3, open business process.

Tab 3 just showing loading bpmonline, and when I try reload, just loading. and if I close tab 1 / 2, the tab 3 can be access.



Is it my specification are lacking or any configuration?

FYI: I develop creatio in i5 1,8ghz, 20gb ddr4 ram, and 250 ssd

Like 1

Like

6 comments

Hello Romadan,

We have never faced such issues in the past so please specify:

1) If this issue occurs if you are trying to open several different processes or only one?

2) Do you have "Debug mode" being turned on?

3) Seems that you are receiving some console error when trying to open a process. Please provide us with a screenshot of this error and also copy it here.

4) Do you open your process from process log or from process library? Or do you open execution diagram of your process?

Thank you in advance!

Best regards,

Oscar

Oscar Dylan,

Hi Oscar, thanks for reply.

Can you check my video for more details, I record what happen in my local.

https://www.loom.com/share/c5af582e899043a8803854d5d7b12bd5

1). Several process. The point is if open the application more than 2 tabs (wizard tool only).

2). No

3). Error is request timeout.

4) From process log, from process library, open section wizard too, the point is wizard tool.

Thanks

Romadan Saputra,

Got it, thank you! And can you please go to "Network" tab, catch the request that returns this error and check "Response" tab of this request? What response do you get from the server? Maybe there will be more information on this time-out error.

Best regards,

Oscar

Oscar Dylan,

I got 2 pending process

 

is it any configuration in IIS / Connection String / System Setting that shoul be modification?

Hi Romadan and team,

Hope you are doing great!

I got the same issue this morning with version 8.0.5.

Did you have the chance to solve it?

Thank you. 

Show all comments

I need to set a column value indicating if a lead was added during data import from Excel. I would like to avoid creating a column in the Excel file to do do. Is it possible?

Like 0

Like

2 comments

Hello Ricardo,

There is no need to add columns in the application or in Excel file since if the record was created or modified via data import it gets unique tag that contains "Data import" part + date when this import was performed. In case CreatedOn of the record equals to ModifiedOn of the record and there is import tag on this record it means that the record was created using import from Excel. But if CreatedOn not equal to ModifiedOn and the record has import tag it means that the record was modified using data import.

Best regards,

Oscar

Oscar Dylan,

Great, Thanks !

Show all comments

Exception Message: The INSERT statement conflicted with the FOREIGN KEY constraint "FKVJgxmU9tugUNJfIWHaADhTn9tE". The conflict occurred in database "SalesEnterpriseENU_2889781_1124", table "dbo.SysCulture", column 'Id'. The statement has been terminated. Exception Type: System.Data.SqlClient.SqlException Exception Source: .Net SqlClient Data Provider

Can you please fix my issues?

Like 0

Like

2 comments

The error indicates that your package has Culture that is not installed. 

Here is the list of localizations that can be used in your package:

uk-UA

en-US

ar-SA

cs-CZ

de-DE

es-ES

fa-IR

fr-FR

it-IT

nl-NL

pl-PL

ro-RO

ru-RU

Ideally during installing the system should ignore localizations that are missing in the target system, but sometimes such issue may occur. Try to:

1) Roll back the DB to a point before you attempted to install the package.

2) Flush Redis.

Once done try to import the package once again.

Best regards,

Oscar

Oscar Dylan,

Its Work, Thank You Oscar !

Show all comments

Dear mates,

When i want to create a detail, i have several "Base Object" in the selection list.

How can i choose the good one ?

Thank you,

Nicolas

 

Like 0

Like

5 comments

Dear Nicolas,

It seems like you have multiple custom object with the same name. By default, there is only 1 Base object. Try to rename the custom ones and you will be able to see the original one or the required replaced base object. 

Regards,

Dean

Dear Dean,

Can you please tell me in which table can i find the custom object list having the Base object name?

Have a nice day,

Nicolas

Dear Nicolas,

It should be SysSchema.

Regards,

Dean

Hi Nicolas, I see you are orking with French language. I've had similar issues working with PT version were the translation is not so good and a several objects get translated with the same name. I've switched to English and then I could find the correct base object.

Luis

 

Luis Tinoco Azevedo,

Hi Luis,

Thank you for the answer. It's ok too in english for me, but i prefer working in french and change the object title having this issue.

When i ve to select the parent object, i switch to english, and then i switch back in french.

Nico

Show all comments

Can i anyone help me out to get correct esq query for

SELECT

[Account].[Name] 

FROM

[dbo].[Order] 

LEFT OUTER JOIN [dbo].[Account] ON ([Account].[Id] = [Order].[AccountId] )

WHERE ([Order].[Id]='10643C0B-4932-415C-9150-91458492BBBE')

My esq query:

var esq = Ext.create("Terrasoft.EntitySchemaQuery", {rootSchemaName: "Order"});

                        

esq.AddColumn("[Account:Id:AccountId].Name");

                        //esq.addColumn("Name");

                        

var FirstFilter = esq.createColumnFilterWithParameter

                        (Terrasoft.ComparisonType.EQUAL,"Id", this.get("UsrPONo").value );

esq.filters.add("first", FirstFilter);

                        

 esq.getEntityCollection(

                        function(result) {

                            if (result.success) {

    //assigning collection to the variable

                                var items = result.collection.getItems();

                                

                                var name = items[0].values.Name;

                                    this.set("UsrAccount",name);

                            }

                                

                        }, this);

 

I could not get the name of the account using this.

Like 0

Like

5 comments

Can anyone help on this?

Hi Susanna,



Seems like you have added a wrong column.



Correct column in the query will be:

esq.AddColumn("Account.Name");



Here you can find more samples. Its about C#, but logic is the same.



Regards,

Dmytro

Dmytro,

I tried it is not working.I need to join the two tables Account and Order, retrieve the account name.

Please correct the esq

 

Can anyone help on this?

Susanna Thomas,

Can you show us the console.log.



You want get the column account in order. The account is lookup from Order, no need "esq.AddColumn("[Account:Id:AccountId].Name");", just esq.AddColumn("Account"); and you will get the Id and Name of Account.

Then, when getting the result, set UsrAccount this.set("UsrAccount", {value: ..., displayValue: ...}); if the UsrAccount is lookup, else if string, just get displayValue

Show all comments

Hi Team,

As in topic, i'm looking example how to call internal post web-service inside business process. Should i use "Script Task" or "Call Webservice Task" to handle it ?

 

I found only information how to do this from client-side js under link https://academy.creatio.com/documents/technic-sdk/7-15/calling-configur… but i would like to invoke similar post method via business process.

 

Regards,

Marcin Kott

Like 0

Like

2 comments

You would use a script task, but you don't need to call it like a web service. Keep in mind, the web service is just a C# class in the Terrasoft.Configuration namespace. You can simply create an instance of the class, like you would any class, and invoke it's methods. The only thing you need to keep in mind is that how the service gets things like UserConnection will be different when used this way. For these cases, I usually have an overloaded constructor in the web service class where I provide the UserConnection to it

For example:

 

var myObj = new Terrasoft.Configuration.UsrSourceCode1(UserConnection);
myObj.SomeMethod();

Hope this helps.

Ryan

Ryan,

Yes indeed, Your comment help me to go forward with design solution. Thanks,

Regards,

Marcin

Show all comments

Hello



Very frequently we find that the Generate, compile, publish or Update operations from the Configuration manager take a long time to run ( > 30 mins). This happens across developers across projects. 

Sometimes it keeps running endlessly and we need to force abort. 



1. Are there any specific reasons why this might happen? Our hardware configurations are in line with what is recommended by Creatio for developer machines. So, I doubt if it is hardware related. 



2. How long is Generate, publish, compile or update generally expected to take? 



2. Could this be because of too many objects/schemas inside one package? If Yes, What is the recommended scale/volume of work that can go inside one package.

Like 0

Like

6 comments

Hello!

Compilation and source code generation depends on several parameters. 1st most significant parameter is connected to hardware. To ensure your hardware can provide enough resources for those action monitor server performance during compilation or source code generation. 

2nd parameter is amount of code that should be compiled/generated. OOB instance without customisations can be fully compiled in 5-10 minutes. More code you have more time it will take for system to compile.

Most important recommendation here is not to compile all - you should understand when your system needs to be compiled and what should be compiled. In general you can simply compile only modified items to reduce compilation time and generate/compile all only before updates/package installation. 

Best regards,

Angela

Angela Reyes,

To clarify, We only compile modified items and not compile all items. But still it takes a significant time. Your point regarding hardware does help. Thank you Angela.. 



Regarding my 3rd question, 

Is there a maximum number of objects or schemas that is recommended to be in a package? Beyond that number, Would you suggest creating a new package? (This is presuming that generation and compilation happens only on the selected package?)

M Shrikanth,

There is no maximum number of objects in each package. Amount of objects in package should only depend on your development process so that you could always tell which package contains certain functionality. 

Angela Reyes,

Thank you Angela. One follow up question.



It was recommended to us to have all the functionality in a single package, and not split into different packages. Would you have the same recommendation? Any reasons why?

M Shrikanth,

You can use several packages in case you have several different customisations that are not connected to each other and can be installed separately without each other. If all your changes are connected it is better to use 1 package. 

Angela Reyes,

Thank you Angela for your comments. They really help us!

Show all comments

Dear mates,

How can i format date in Creation source code ?

When i do this:

var esq = this.Ext.create("Terrasoft.EntitySchemaQuery", {
   rootSchemaName: "Order"
});
 
esq.addColumn("Date");
 
esq.getEntityCollection( function(result) {
    result.collection.each ( function (order) {
       this.console.log(Date);
    });
});

the system return me:

function Date() { [native code] }

What the way to format Date ?

Thanks,

Nicolas

 

Like 0

Like

2 comments

The Date can be formatted via default js functions. Please feel free to find out more about working with Date in JavaScript in the article by the link below:

https://css-tricks.com/everything-you-need-to-know-about-date-in-javascript/

Also there are some examples of working with Date in ESQ in the article on academy :

https://academy.creatio.com/documents/technic-sdk/7-15/entityschemaquery-class-filters-handling

 

You can format the date based on the current users culture settings using the following:

var formattedDateString = myDate.toLocaleDateString(Terrasoft.currentUserCultureName);

Ryan

Show all comments

Hello Team,

Is there any possibility to hide/disable Close button rendered in Auto-generated page on standard ?

Alternatively we are looking possibility to handle this event after click (eg. go to terminate process).

Regards,

Marcin Kott

Like 0

Like

2 comments
Best reply

It's possible to hide "Close" button by applying custom CSS style to the AutoGeneratedPageV2 schema. In this way you need to find the correct selector for "Close" button in AutoGeneratedPageV2.

The article by the link below describes how to add custom CSS:

https://community.creatio.com/articles/how-add-or-edit-css-style

I would recommend to use the Pre-Configured page instead of the Auto-generated page. You can decide which buttons display to the user. You can use conditions in the process based on the button the user clicks in the Pre-Configured page. 

It's possible to hide "Close" button by applying custom CSS style to the AutoGeneratedPageV2 schema. In this way you need to find the correct selector for "Close" button in AutoGeneratedPageV2.

The article by the link below describes how to add custom CSS:

https://community.creatio.com/articles/how-add-or-edit-css-style

Show all comments

Hi community,

We got Sales Creatio licence,

however when I'm asked what edition we use, I'm not sure what to choose.

I may be asked by interface either of documentation or forum:

     

Is there a way of finding it out by interface, not contacting manager or teammates?

For a user with admin rights.

Thanks in advance.

________

If there a need to tell that searched for the answer on the community forum an in docs, I could tell I spent a considerable time on it; googling also. Searched by keywords "get edition", "find out edition", etc.

Like 0

Like

4 comments
Best reply

Hi! Please use following sql query to determine version of your application: 

DECLARE @ConfigurationVersion nvarchar(250)

DECLARE @PrimaryCulture nvarchar(250)

DECLARE @Product nvarchar(250)

DECLARE @SysAdminUnit_AllUsers uniqueidentifier = 'A29A3BA5-4B0D-DE11-9A51-005056C00008'

BEGIN

SELECT  @ConfigurationVersion = TextValue

FROM SysSettingsValue ssv

INNER JOIN SysSettings ss on ss.Id = ssv.SysSettingsId

WHERE ss.Code = 'ConfigurationVersion' 

    AND SysAdminUnitId = @SysAdminUnit_AllUsers

SELECT @PrimaryCulture = c.Name

FROM SysSettingsValue ssv

INNER JOIN SysSettings ss on ss.Id = ssv.SysSettingsId

INNER JOIN SysCulture c on c.Id = ssv.GuidValue

WHERE ss.Code = 'PrimaryCulture'

    AND SysAdminUnitId = @SysAdminUnit_AllUsers

SELECT @Product =

CASE

     WHEN 

        EXISTS(SELECT Id FROM SysPackage WHERE Name LIKE 'MarketingSoftkey%')

        AND EXISTS(SELECT Id FROM SysPackage WHERE Name LIKE 'BankOnboardingSoftkey%')

        AND EXISTS(SELECT Id FROM SysPackage WHERE Name LIKE 'BankSalesSoftkey%')

        AND EXISTS(SELECT Id FROM SysPackage WHERE Name LIKE 'Lending%')

     THEN 'bpmonline bank sales & bank customer journey & lending & marketing' 

     WHEN 

        EXISTS(SELECT Id FROM SysPackage WHERE Name LIKE 'BankOnboardingSoftkey%')

        AND EXISTS(SELECT Id FROM SysPackage WHERE Name LIKE 'BankSalesSoftkey%')

     THEN 'bpmonline bank sales & bank customer journey' 

     WHEN 

        EXISTS(SELECT Id FROM SysPackage WHERE Name LIKE 'MarketingSoftkey%')

        AND EXISTS(SELECT Id FROM SysPackage WHERE Name = 'SalesEnterprise')

        AND EXISTS(SELECT Id FROM SysPackage WHERE Name = 'ServiceEnterpriseSoftkey')

     THEN 'bpmonline sales enterprise & marketing & service enterprise' 

     WHEN 

        EXISTS(SELECT Id FROM SysPackage WHERE Name LIKE 'MarketingSoftkey%')

        AND EXISTS(SELECT Id FROM SysPackage WHERE Name = 'SalesEnterprise')

        AND EXISTS(SELECT Id FROM SysPackage WHERE Name = 'CustomerCenterSoftkey')

     THEN 'bpmonline sales enterprise & marketing & customer center' 

     WHEN 

        EXISTS(SELECT Id FROM SysPackage WHERE Name LIKE 'MarketingSoftkey%')

        AND EXISTS(SELECT Id FROM SysPackage WHERE Name = 'SalesCommerce')

        AND EXISTS(SELECT Id FROM SysPackage WHERE Name = 'CustomerCenterSoftkey')

     THEN 'bpmonline sales commerce & marketing & customer center' 

     WHEN 

        EXISTS(SELECT Id FROM SysPackage WHERE Name LIKE 'MarketingSoftkey%')

        AND EXISTS(SELECT Id FROM SysPackage WHERE Name = 'SalesTeam')

        AND EXISTS(SELECT Id FROM SysPackage WHERE Name = 'CustomerCenterSoftkey')

     THEN 'bpmonline sales team & marketing & customer center' 

     WHEN 

        EXISTS(SELECT Id FROM SysPackage WHERE Name LIKE 'MarketingSoftkey%')

        AND EXISTS(SELECT Id FROM SysPackage WHERE Name = 'SalesTeam')

     THEN 'bpmonline sales team & marketing'

     WHEN 

        EXISTS(SELECT Id FROM SysPackage WHERE Name = 'SalesTeam')

     THEN 'bpmonline sales team'

     WHEN 

        EXISTS(SELECT Id FROM SysPackage WHERE Name = 'SalesCommerce')

     THEN 'bpmonline sales commerce'

     WHEN 

        EXISTS(SELECT Id FROM SysPackage WHERE Name = 'SalesEnterprise')

     THEN 'bpmonline sales enterprise'

     WHEN 

        EXISTS(SELECT Id FROM SysPackage WHERE Name Like 'MarketingSoftkey%')

     THEN 'bpmonline marketing'

     WHEN 

        EXISTS(SELECT Id FROM SysPackage WHERE Name = 'CustomerCenterSoftkey')

     THEN 'bpmonline customer center'

     WHEN 

        EXISTS(SELECT Id FROM SysPackage WHERE Name = 'ServiceEnterpriseSoftkey')

     THEN 'bpmonline service enterprise'

     WHEN 

        EXISTS(SELECT Id FROM SysPackage WHERE Name LIKE 'Studio%')

     THEN 'bpmonline studio'

     WHEN 

        EXISTS(SELECT Id FROM SysPackage WHERE Name LIKE 'Lending%')

     THEN 'bpmonline lending'

     WHEN 

        EXISTS(SELECT Id FROM SysPackage WHERE Name LIKE 'BankSalesSoftkey%')

     THEN 'bpmonline bank sales'

     WHEN 

        EXISTS(SELECT Id FROM SysPackage WHERE Name LIKE 'BankOnboardingSoftkey%')

     THEN 'bpmonline bank customer journey'

     ELSE  '?' END

SELECT @Product, @ConfigurationVersion, @PrimaryCulture

END

 

Hi! Please use following sql query to determine version of your application: 

DECLARE @ConfigurationVersion nvarchar(250)

DECLARE @PrimaryCulture nvarchar(250)

DECLARE @Product nvarchar(250)

DECLARE @SysAdminUnit_AllUsers uniqueidentifier = 'A29A3BA5-4B0D-DE11-9A51-005056C00008'

BEGIN

SELECT  @ConfigurationVersion = TextValue

FROM SysSettingsValue ssv

INNER JOIN SysSettings ss on ss.Id = ssv.SysSettingsId

WHERE ss.Code = 'ConfigurationVersion' 

    AND SysAdminUnitId = @SysAdminUnit_AllUsers

SELECT @PrimaryCulture = c.Name

FROM SysSettingsValue ssv

INNER JOIN SysSettings ss on ss.Id = ssv.SysSettingsId

INNER JOIN SysCulture c on c.Id = ssv.GuidValue

WHERE ss.Code = 'PrimaryCulture'

    AND SysAdminUnitId = @SysAdminUnit_AllUsers

SELECT @Product =

CASE

     WHEN 

        EXISTS(SELECT Id FROM SysPackage WHERE Name LIKE 'MarketingSoftkey%')

        AND EXISTS(SELECT Id FROM SysPackage WHERE Name LIKE 'BankOnboardingSoftkey%')

        AND EXISTS(SELECT Id FROM SysPackage WHERE Name LIKE 'BankSalesSoftkey%')

        AND EXISTS(SELECT Id FROM SysPackage WHERE Name LIKE 'Lending%')

     THEN 'bpmonline bank sales & bank customer journey & lending & marketing' 

     WHEN 

        EXISTS(SELECT Id FROM SysPackage WHERE Name LIKE 'BankOnboardingSoftkey%')

        AND EXISTS(SELECT Id FROM SysPackage WHERE Name LIKE 'BankSalesSoftkey%')

     THEN 'bpmonline bank sales & bank customer journey' 

     WHEN 

        EXISTS(SELECT Id FROM SysPackage WHERE Name LIKE 'MarketingSoftkey%')

        AND EXISTS(SELECT Id FROM SysPackage WHERE Name = 'SalesEnterprise')

        AND EXISTS(SELECT Id FROM SysPackage WHERE Name = 'ServiceEnterpriseSoftkey')

     THEN 'bpmonline sales enterprise & marketing & service enterprise' 

     WHEN 

        EXISTS(SELECT Id FROM SysPackage WHERE Name LIKE 'MarketingSoftkey%')

        AND EXISTS(SELECT Id FROM SysPackage WHERE Name = 'SalesEnterprise')

        AND EXISTS(SELECT Id FROM SysPackage WHERE Name = 'CustomerCenterSoftkey')

     THEN 'bpmonline sales enterprise & marketing & customer center' 

     WHEN 

        EXISTS(SELECT Id FROM SysPackage WHERE Name LIKE 'MarketingSoftkey%')

        AND EXISTS(SELECT Id FROM SysPackage WHERE Name = 'SalesCommerce')

        AND EXISTS(SELECT Id FROM SysPackage WHERE Name = 'CustomerCenterSoftkey')

     THEN 'bpmonline sales commerce & marketing & customer center' 

     WHEN 

        EXISTS(SELECT Id FROM SysPackage WHERE Name LIKE 'MarketingSoftkey%')

        AND EXISTS(SELECT Id FROM SysPackage WHERE Name = 'SalesTeam')

        AND EXISTS(SELECT Id FROM SysPackage WHERE Name = 'CustomerCenterSoftkey')

     THEN 'bpmonline sales team & marketing & customer center' 

     WHEN 

        EXISTS(SELECT Id FROM SysPackage WHERE Name LIKE 'MarketingSoftkey%')

        AND EXISTS(SELECT Id FROM SysPackage WHERE Name = 'SalesTeam')

     THEN 'bpmonline sales team & marketing'

     WHEN 

        EXISTS(SELECT Id FROM SysPackage WHERE Name = 'SalesTeam')

     THEN 'bpmonline sales team'

     WHEN 

        EXISTS(SELECT Id FROM SysPackage WHERE Name = 'SalesCommerce')

     THEN 'bpmonline sales commerce'

     WHEN 

        EXISTS(SELECT Id FROM SysPackage WHERE Name = 'SalesEnterprise')

     THEN 'bpmonline sales enterprise'

     WHEN 

        EXISTS(SELECT Id FROM SysPackage WHERE Name Like 'MarketingSoftkey%')

     THEN 'bpmonline marketing'

     WHEN 

        EXISTS(SELECT Id FROM SysPackage WHERE Name = 'CustomerCenterSoftkey')

     THEN 'bpmonline customer center'

     WHEN 

        EXISTS(SELECT Id FROM SysPackage WHERE Name = 'ServiceEnterpriseSoftkey')

     THEN 'bpmonline service enterprise'

     WHEN 

        EXISTS(SELECT Id FROM SysPackage WHERE Name LIKE 'Studio%')

     THEN 'bpmonline studio'

     WHEN 

        EXISTS(SELECT Id FROM SysPackage WHERE Name LIKE 'Lending%')

     THEN 'bpmonline lending'

     WHEN 

        EXISTS(SELECT Id FROM SysPackage WHERE Name LIKE 'BankSalesSoftkey%')

     THEN 'bpmonline bank sales'

     WHEN 

        EXISTS(SELECT Id FROM SysPackage WHERE Name LIKE 'BankOnboardingSoftkey%')

     THEN 'bpmonline bank customer journey'

     ELSE  '?' END

SELECT @Product, @ConfigurationVersion, @PrimaryCulture

END

 

I know this post is almost 2 years old, but it seems like this information should be readily available from the UI on the Help menu

Angela Reyes,

This seems like an overly complicated solution, this SQL query also doesnt run for me?

It should be available on the settings somewhere, but for now, simplest way I've found is to log out. Version is visible on the login screen, underneath where you enter credentials

 

 

Show all comments