Hello Team!

 

Is possible to change the logic of this panel to prevent complete the activity if the start date is in the future?

 

Like 0

Like

3 comments

Solved changing this function in the ActivityPageV2

 

	canChangeStatus: function() {
				var CurrentDarte = new Date();
				return this.get("IsEntityInitialized") && !this.isFinalStatus() && this.isViewMode() && this.get("StartDate") < CurrentDarte &&
					!this.get("ActivityMiniPageStatus");
			}

 

Nice finding, Frederico!

 

This should also work on the Account and Contact page, where the "complete" button for Activities is also displayed (in the top area of the main mask), right? Do you have a code example for this, too?

 

BR,

Robert

Robert Pordes,

I dont have a example of that code but must be very similar. Check in the code what function is calling the click.

Show all comments

hi everyone

I am trying to install a trial with a db PostgreSQL, but following the instructions i am getting this error

  • the name pg_sysadmin is reserved
  • role names beginning with pg_ are reserved

can i create a user witout pg_? my client will work?

 

 

Like 0

Like

1 comments
Best reply

Hello Carlos,

 

Yes, you can create a user without pg_. This prefix is not necessary for correct functioning. 

 

Best regards,

Max.

Hello Carlos,

 

Yes, you can create a user without pg_. This prefix is not necessary for correct functioning. 

 

Best regards,

Max.

Show all comments
using tags
Studio_Creatio
7.17

Hi community,

is it possible to show the tags assigned to a record without click on tag icon ?

I'm looking for a solution like this

I can add a text field for each entity and using a business process update this field with all tags assigned to the record, but I don't like it very much.

Like 0

Like

1 comments

Hi Stefano,

 

You can do it in the way you need, just debug the logic of how the tag module is called and how does the data passed there. You need to check:

 

1) BaseDataView and onTagButtonClick function in this module

2) TagUtilitiesV2 and showTagModule and openTagModule functions in this module

 

Then you can write your own logic once you debug and analyze how it's called and executed in terms of the mentioned modules and methods in these modules.

Show all comments
addon
Studio_Creatio
7.17

Hi community,

I've installed this addon Aspose.PDF connector for Creatio | Creatio Marketplace,

when I try to generate the printable I get the following error.

Like 0

Like

2 comments

Hi Stefano,

 

You need to check the values in the Creatio system settings connected to the Aspose service.

Please use the screenshot below to check whether the Aspose setting values match the respective system settings in Creatio:

After you apply the changes, we recommend you to log out and log back into Creatio for checking the updates.

 

Hope this helps!

 

Best regards,

Max.

Max,

Thank you Max

it works!

Show all comments
studio
script task
задание-сценарий
Studio_Creatio

При попытке добавления блока с пользовательским кодом возникает ошибка

An attempt to add a script task causes an error

System.InvalidCastException: Specified cast is not valid.
   at Terrasoft.Core.Process.ProcessModel.GetParameterValue[T](FoundParameterData result)
   at Terrasoft.Core.Process.Process1MethodsWrapper.ScriptTask1Execute(ProcessExecutingContext context)
   at Terrasoft.Core.Process.ProcessScriptTask.InternalExecute(ProcessExecutingContext context)
   at Terrasoft.Core.Process.ProcessFlowElement.Execute(ProcessExecutingContext context)

Сам код в блоке выглядит так: 

The code itself looks as following:

double result = Get("amount") * Get("rate") / Get("division");
Set("result", result);
return true;

У меня нет опыта работы с BPMN, поэтому я не знаю, где именно я ошибся. Всё, что делают формулы - это запись данных из справочника в параметры процесса.

Заранее спасибо!

I'm totally new to BPMN so I have no idea where the error may be. The formulas only save lookup values into process parameters. 

Thanks in advance!

File attachments
Like 0

Like

2 comments

By the way, if there is a list of data type matches for decimal values (as I understood, float does not match all of them), I would really appreciate a link.

Кстати, если существует список соответствий типов данных для дробных значений (как я понял, float подходит не для всех), я был бы очень благодарен за ссылку.

Я нашёл необходимый тип данных, им оказался decimal. Вопрос можно закрыть

Вот ссылка на перечнь соответствующих типов:

Элемент процесса [Задание-сценарий] | Creatio Academy (terrasoft.ru)

I've found the necessary data type, it turned out to be decimal.

Above there is a link to a list of data type matches

Show all comments
FileDownload
Studio_Creatio
7.17

Hi community

is it possible to download with odata an attachment from any section ?

Like 0

Like

2 comments

Hello Stefano, 

 

Yes. I will show you an example how to achieve it: 

 

1. Choose the section you want to download from and find the record.

For example in Account section the request will be 

http://localhost:1337/0/odata/AccountFile and so on.

Here is an example for Contacts from my local app.

Find the needed file and  retrieve the Id from the attachment you want to download:  

 

 

2. Call this endpoint: 

 

http://localhost:1337/0/odata/ContactFile(fabc22d4-5d91-435c-8dd4-46cfd…

 

Where fabc22d4-5d91-435c-8dd4-46cfd626345c - the Id from step 1.

 

Best Regards, 

 

Bogdan L.

Thank you very much

Bogdan Lesyk,

Show all comments
Import
Studio_Creatio
7.17

Hi community,

is it possible to load the data to import in the same structure used by data import standard feature and launch it programmatically ?

 

Like 0

Like

2 comments

Hello Stefano,



Can you please provide us more detailed information on your business task?



Thank you in advance!



Best regards,

Bogdan

Bogdan,

I would like to load programmaticaly the temporary table used by creatio when I import an excel file and then launch  the import, specifing which entity fill 

Show all comments
data import
c#
#BusinessProcess
Studio_Creatio
7.17

Hi everyone, 

I'd like to automate a data Import from a FTP server using a business process, without downloading the file locally.

I also found this article (https://community.creatio.com/questions/how-automate-imports-ftp-locati…) , but the links have either been removed or deleted.

I would like to know whether it is possible to use C# code in a Script Task to store the data stream in RAM and eventually recover the data to import. 

Is it reasonable for a cloud- stored enviroment to handle this kind of process with CSV files of approx. 2 MB?

Like 1

Like

3 comments

Hi Federica, 

 

Actually you are still capable to use OData with business task to achieve required implementation. You don't need to use Scheduler for this, so disregard these deleted links, I will give you fresh one , please take a look on the actual OData 4 link with guide how to set up the integration: 

 

https://documenter.getpostman.com/view/10204500/SztHX5Qb?version=latest

 

Please also check out this link from Marketplace where you may find another solution for you task: 

 

https://marketplace.creatio.com/app/file-manager-creatio

 

here you may set up key features of needed requirements, so you can make "One click" implementation and it might be much easier for you.

 

Best Regards, 

 

Bogdan L. 

The .NET FtpWebRequest class can download a file to an in-memory stream (without actually saving the file anywhere) that you can then process from the stream. This could be used from a ScriptTask in a process etc

FtpWebRequest request =
    (FtpWebRequest)WebRequest.Create("ftp://ftp.example.com/path/file.txt");
request.Credentials = new NetworkCredential("username", "password");
request.Method = WebRequestMethods.Ftp.DownloadFile;

using (Stream stream = request.GetResponse().GetResponseStream())
using (StreamReader reader = new StreamReader(stream))
{
    while (!reader.EndOfStream)
    {
        string line = reader.ReadLine();
        // process the line as needed
    }
}

Ryan

Ryan Farley,

That's the script I'm running at the moment and it works!

Show all comments
case_from_incoming_email
Studio_Creatio
7.17

Hi Community,

 

We are registering case from incoming email, we wanted to know the following:

 

1. Aside from Case Source which is "Email", how we will know that this case record is created from incoming email?

2. How we will know which mailbox this case record came from? Since we specified two mailbox in "List of mailboxes for case registration" lookup.

 

Thanks

 

Like 0

Like

3 comments

Hello,

 

Thank you for your message!

 

Case Source is the only way to find out whether a record is created from the incoming email. Also, the email gets linked to the case at once.

 

As for your second question, the mailbox can be seen in the tab "Processing". It's also possible to set a separate case category for each mailbox.

 

Kind regards,

Anastasiia

Anastasiia Lazurenko,

 

Thank you for your reply, there is no "Processing" field in Case table.

Hi,

 

Thank you for your message.

 

I'm sorry my explanation was not clear enough. For example, you receive an email. A new case is registered based upon this email. Once you open the case, you can find this first email received in the "Processing tab". The email address the request was sent to can be seen there.

 

There is no information stored in the case table regarding the email it was registered from. Usually, the category field defines the mailbox this case came from.

 

Hopefully, it's clear now, but please get back if you have any further questions.

 

Regards,

Anastasiia

Show all comments
UI
TextFields
Studio_Creatio
7.17

Hello community, We have a requirement where we need to show JSON on the UI. A multiline text may not be an ideal way to show it. Would it be possible to convert the Text field into something similar to the screenshot below (this is taken from Fast Reports set up)

File attachments
Like 0

Like

3 comments

Hello Shivani,

 

Standard "Notes" field will also perfectly store JSON:

So please use it to store JSON on the UI.

 

Best regards,

Oscar

Oscar Dylan,

Thank you for your reply. Is it possible to add another "notes" field to the table and have the value displayed in a similar manner?

Shivani Lakshman,

 

You can use the standard one available in any newly created section and add it to another tab if needed (but this can be done via the schema code modification directly, this option is not available in the wizard yet, but our product R&D team actively works on adding this feature to the oob functionality).

Show all comments