I'm having some issues with updating the value for a parameter from client-side code, from the ProcessSchemaPropertiesPage (process designer).  The reason for this is that I have a base process that is getting coppied for a specific use, and I'm passing a value to that copy that should be saved to a process parameter.  I need to reference this parameter from a process execution.

 

What I've attempted is this:

 

             saveValues: function() {

                    process = this.get("ProcessElement");

                    var scope = this;

                    var parameters = process.parameters;

                    Terrasoft.each(parameters, function(){

                        var item = this;

                        if(item.name == "marketingProcess"){

                            item.sourceValue.displayValue.cultureValues["en-US"] = "test123";

                            //item.sourceValue.value.cultureValues["en-US"] = "test123";

                            item.sourceValue.value = "test123";

                            scope.saveParameter(item); 

                        }

                    });

                    this.callParent(arguments);

               }

It looks like it works, but it's not actually updating the parameter value.  I've tried something similar on the loading of the process and on saving.

 

Any ideas how you can manipulate process parameter values client side?  I would even be willing to use a server-side solution, if one exists.  I've looked at the server-side process services and I'm not seeing anything obvious there either.

 

Any ideas!

 

Thanks!

Jeremy

Like 0

Like

1 comments

Please provide us with a complete step-by-step description of the practical usage of the functionality you demand.

 

Thank you!

 

Best regards.

Oscar  

Show all comments
businessProcess
PerformTask
Studio_Creatio
7.18

HI, 

 

I'm working with a business process, I have added a "Perfom Task" element, but I need to be able to set a custom parameter to it. The field already exists in the activity, but I'm not able to set it from them "Perfom Task" element.

 

Is there a way to do this?

Like 0

Like

2 comments

Hello Javier,



Could you please specify which custom parameter do you mean?



Thanks in advance!



Best regards,

Bogdan

Hi Bodgan, I have figured it out. 

 

I added this code in "Advace settings" -> "After save" of "Perfom Task" element:

 

 activity.SetColumnValue("[FieldName]", [FieldValue]));

  activity.Save();

 

 

 

Thank you!

Show all comments
FileSystemDevelopmentMode
Studio_Creatio
7.18

Hi All,

 

I am facing an issue with the file system development mode. I was trying to enable file system development mode on my local setup for a package that I developed on a cloud setup. When I installed the package on my local setup and compiled, there was no error. But after enabling the "File System mode", then downloading the package to the file system, when I tried to compile I received many errors w.r.to the js files in the package. But everything is working as expected on the UI. Screenshot attached for reference.

 

Local setup Version- 7.18.4

Cloud version-7.18.3

Like 0

Like

5 comments

Hi,

 

Please provide the code inside the file that returns an error.

Hi Oscar Dylan,

 

The error is showing for all the available schemas in the package, but inside the schema there is no error. I have attached one sample schema where error is showing.

 

 

 

Sourav Kumar Samal,

 

it's strange that these errors are returned for .js files upon compilation that should affect only C# schemas. Try generating the source code for all items and then compiling once again.

Hi Oscar Dylan,

 

Yes I have tried that also but the error is still showing. The error is showing only after enabling the file system mode and downloading the package to the file system. But before that there was no error showing.

Sourav Kumar Samal,

 

Got it. Please email us at support@creatio.com, provide us with the package that was installed and with a description on how we can reproduce this issue using the clean OOB version of the app. We will try to reproduce the issue on our end.

Show all comments
Studio_Creatio
7.18

Hi

I have a custom button which when clicked brings up an pop up box on screen. I have used the web socket mechanism which gets triggered when the button is clicked. 



The issue is sometimes the pop box does not get generated after clicking the button, however after refreshing the browser page (hard reload/empty cache), the pop box starts generating again on the button click.



I want to know how to make sure the input box gets generated every time the button is clicked without having to refresh the page.



Thanks 

Like 0

Like

3 comments

Hi,

 

You need to debug the logic of the popup formation upon the button click when the issue reproduces and find out what exactly is not triggered that prevents the popup formation.

 

Best regards,

Oscar

Hi Oscar Dylan,

 

Currently on the button click, a business process will send a message and upon receiving of the message, the popup box is getting generated on screen.

But sometimes on the button click, the process is executed successfully but the popup is not generated.

The business process is containing a script task element which is sending a message from server to client. 

 

Thanks

 

then how to add pop-up dialog box when clicking the button

 

Show all comments
Studio_Creatio
7.18

Можно ли использовать async методы в БП?

Like 2

Like

2 comments

Здравствуйте Виталий,



Можете описать ваш вопрос более детально?

 

Спасибо,

Артём.

Лучше сам процесс выполнить асинхронно с помощью признака "Выполнять в фоновом режиме" у стартового сигнала в бизнес процессе. Кроме того, прошу вас вопросы на русском языке адресовать на ru комьюнити - https://community.terrasoft.ru/

Show all comments
Studio_Creatio
7.18

Hi support

I've a compilation error during the installation of a package on production environment.

The same package was fine on test cloud environment.

The error is

"2021-12-22 22:09:31,627 Autogenerated\Src\AccountSchema.Custom.cs(266,41) errore CS0115: 'AccountSchema.CreateSifUnindustriaReferenceContactColumn()': no suitable method found to override"

 

In the package I've renamed the custom column "SifUnindustriaReferenceContact" on the Account table.

How can I solve these issue ?

 

Like 0

Like

2 comments

Hello Stefano,



In order to fix the issue, you should back the column's original name.



We don't recommend renaming columns in objects (Code columns) with the Usr prefix, for example, UsrTestColumn. 

But you can change the title.

 

Best regards,

Bogdan

Hi Bogdan,

I solved the issue, using "Generate all schemas" and after that I compiled all

Show all comments
Studio_Creatio
7.18

Можно ли и если можно, то как сделать замещение класса?

Например: есть сервис который вызывается с разных мест(клиентские схемы, БП). Все находится в заблокированных пакетах. Как изменить методы этого сервиса?

Like 4

Like

1 comments

Hi

I installed a new package in the Creatio environment and then deleted it from the Advanced Settings, but the changes present in the package are still visible in the environment.

Hence what additional steps do I have to perform to restore or reset the Creatio environment to its basic default state after I delete the new package?

 

Thank you 

Like 0

Like

0 comments
Show all comments
Studio_Creatio
7.18

Hi community

which is the retention time for process log records  (SysProcessLog)?

Like 0

Like

1 comments
marketplace
Studio_Creatio
7.18

Hi support

I've installed different addon from the market place.

There are many "marketplace creatio webservice" processes running on the instance

Is there anyone who knows why these business proces exist?

 

Like 0

Like

2 comments

Dear Stefano,



Could you please attach the screenshot once again?



Thanks in advance!



Best regards,

Bogdan

Bogdan,

Hi Bodan,

I've attached the screenshot

Show all comments