Hi,

Is there a way to add a notification in Communication panel to notify user when an initiated business process fails, indicating them to re-run the process or contact Sys admin?

Like 1

Like

2 comments
Best reply

Hello,

According to OOB logic, you cannot start a business process based on the SysProcessLog table. But there is a very simple workaround. You can create a view based on the SysProcessLog table and add this newly created object into your business process as a starting signal. Also, you can add different conditions for the records that can be added to your view so having it done you can manage the list of processes that will be added into your view.
You can find a way how to add a view on our Community.

 

Best regards,

Bogdan

Hello,

According to OOB logic, you cannot start a business process based on the SysProcessLog table. But there is a very simple workaround. You can create a view based on the SysProcessLog table and add this newly created object into your business process as a starting signal. Also, you can add different conditions for the records that can be added to your view so having it done you can manage the list of processes that will be added into your view.
You can find a way how to add a view on our Community.

 

Best regards,

Bogdan

Thanks, Bogdan! 

Show all comments

Hello,

 

In our Creatio CRM we have a number of email templates that display numbers related to currencies and other values. Our client has requested a specific format that requires to have certain thousand separator (10,000,000.00).

 

We haven't found any way to specify format in the email macros. Does anyone know of a way to achieve this in an email template?

 

Thanks, regards.

Like 0

Like

1 comments

Hello,

 

The macros take the actual value in the database. If you have 10,000,000.00 on UI, in the db you will have 10000000.00. That's why macro value has no separators. Currently it is not possible to add comma separators in macros. We have active task in our backlog to implement this logic for macros as well, but it will be available in future application versions.

 

Regards,
Dean

Show all comments

Hello. Could you help us solve the next question: 

We have process, that is triggered by SavedStartMessage, it works corrctly when relevant record is saved from UI (added or updated)

 

What we need to do - when saving some changes from code (other process) to thrigger this starting message. We tried next aproach, but it doesn't trigger required start message:

 

We also tried getting Entity by EntitySchemaQuery, changing some field and tehn saving changes, but it also didn't work.

Could you suggest  some other approach? 

Like 0

Like

3 comments

Hello Iuliia,

 

You can also use the following code in your source code to call your process from it:

var manager = UserConnection.ProcessSchemaManager;
var processSchema = manager.GetInstanceByName("UsrProcess_bf15ef4");
var process = processSchema.CreateProcess(UserConnection);
process.Execute(UserConnection);

So in case your code completed its execution you can call the process using the code above and continue your business logic execution.

 

Best regards,

Oscar

Oscar Dylan,

thanks for this suggestion, but there is a complication. This particula process is set up on the table as this:

So I actually fo not kno the name of it. Is it still possible to start it the way that you suggested

 

Thanks in advance!

Iuliia Diakiv,

 

Event processes on objects also have their codes, please see the example:

So you can try using this name.

 

Best regards,

Oscar

Show all comments

Доброго дня.

Під час виконання операції створення індекса виникає помилка 'Could not check index exists' . На скріншоті показано стек помилки. Чи можете порадити вирішення цієї проблеми

Like 0

Like

1 comments

 Hello,

 

Could you please post your topic here: https://community.terrasoft.ua?

I believe you will receive the answer much faster.

 

Thank you!

Best regards,

Bogdan S.

Show all comments

I am unable to login to a local instance and nothing happens when clicking the login button. 

chrome console shows that the server responded with a status of 500 

(System.ServiceModel.ServiceActivationException)

 

Headers and request body

 

All features are enabled for the machine where IIS server is deployed .

I tryied to redeploy the site application from scratch still facing the same issue.

Like 0

Like

1 comments

Hello,

 

Please contact Creatio support directly (via email support@creatio.com) to check this issue. It will be easier to help you this way!

 

Best regards,
Angela

Show all comments

Hi Community,

Scenario : Age in the contact is calculated OOB based on the DOB

Question: How to add the age field in printable, as we off the existing Age field, “0” value is being printed in the printable

 

Like 0

Like

1 comments

Best route is likely to create a custom macro for the printable, you could pass it the DOB and it would return the age. See an example here: https://customerfx.com/article/creating-custom-macros-to-format-values-…

Ryan

Show all comments

Dear team, 

we have a field with type Time:  

How can we filter out some of the unnecessary values from this field (eg, time before 7am and after 7 pm)? 

Thanks in advance.

Like 0

Like

1 comments

I have a method outlined here, but it's a bit hacky https://customerfx.com/article/changing-the-allowed-time-selections-on-…

This method basically just hides values using CSS. You could use that same approach to just hide all the time values before 7am and after 7pm.

Ryan

Show all comments

Hello,

we have set up login via ADFS, for initial login it works correctly. But when trying to access root of the website in new tab (with active session) we receive 403 error 

 

DefaultDocument is set as described here

version 7.14

 

Could you suggest what is the issue here? 

Thanks in advance 

Like 0

Like

2 comments

Update: when we performed error tracing, there is no actual error in the report

Hello Iuliia Diakiv,

 

It only means that there is a problem with the Web.config file located in the root application directory (loader config). Also this error message doesn't really mean that the problem is with SSO settings in the Web.config file, but with its content in general. You need to check for comment symbols or opening tags, closing tags and check if they are needed there or not.

 

You can also take an out-of-the-box Web.config file and Web.config file of your app and compare them using some comparining tools like Araxis Merge.

 

Best regards,

Oscar

Show all comments

Dear community,

Using FileApiService, we are able to rename the attachment. This posses a challenge because an attacker can upload any malicious file, even though we have a logic to allow only certain file types to get uploaded.

 

For example, ABC.bat can be renamed as ABC.txt. After uploading this file, the attacker can change the name of file to ABC.bat.

 

We have locked the fields of attchment detail on UI, but it is not much of help if the file is renamed through FileApiService.

 

Any method to restrict renaming using this API would be appreciated.

 

Thanks

 

Like 0

Like

4 comments

Hello Shivani,

 

Unfortunately, there are no methods available that can restrict file renaming. But we are planning to release the filter that will check the file extension directly from the file and not from its name. As a result, there won't be a possibility of changing the filly type by means of renaming.

We will post that information in Release Notes as soon as the feature will be added to the product.

 

Best regards,

Bogdan

Bogdan Spasibov,

 

Thanks Bogdan. Also now that you have mentioned about using file signatures (please correct me if I am wrong), I am curious to know how text and csv files can be checked. The challenge we have with our custom logic to allow only 'whitelisted' file types is that csv and txt files do not have file sigfnatures. Is there a way to verify that the attached file is really csv or txt and not a disguise?

 

Thanks

Shivani Lakshman,

 

We confirmed the information with R&D regarding your request and unfortunately, it's not possible to verify the real extension of the file if it is not specified in the file signature. In this case, the application checks the extension.

 

Best regards,

Bogdan S.

Bogdan Spasibov,

Thanks Bogdan. A possible solution would be to restrict file name change. Once file is uploaded, name change can be prohibited. Hence, a file ABC.bat that has been renamed to ABC.txt to pass filter, can never be renamed to ABC.bat :)

Show all comments

Dear team,

 

we need to return some user-friendly result from anonymous service method, not Json or Xml. Use case is as follows: end user receives email with link, which is opened in browser. So we need to return some Html page from the method, or link to static content that will inform user about result of his action. Something in a way, as is implemented for the case-rating (see screenshot)

Is there a suggested method to implement such behavior? 

 

Thanks!

Like 0

Like

7 comments

Hi Iuliia, 

 

Alas, this is an unsafe approach to use an anonymous web-service to return an HTML-page. This may do harm to the user's data and safety. Could you please specify if an anonymous web-service is the only preferable method for you? 

 

Here is also an option to perform your task using a configuration web-service. Please find the instruction by the link below:

 

https://academy.creatio.com/documents/technic-sdk/7-16/creating-configu…

 

Please let us know if you need any additional assistence. 

 

Regards, 

Anastasiia

Anastasiia Markina,

for the task at hand it's preferable for us to use anonymous web-service. It will have limited endpoints for sure, and with action validation. Simplified business flow is that internal user receives some question with yes/no selection (two links, with user-specific id's for each case), clicks on one of them => application receives this answer and returns some message to the user that will notify him/her that the answer was stored successfully or not. We want to use anonymous web-service to improve user experience - not to force them to login to system for such actions. 

Thanks for you suggestion, but unfortunately I can't seem to the answer for my question here.  In example there is  ResponseFormat = WebMessageFormat.Json (or Xml) which is not suitable for task at hand - they are parsed in not user-friendly response by browser. 

What I was asking,  if there is a possibility to return any user-friendly response from the service method(could be as well redirection link to some statically stored image which will hold the message that user should receive). 

 

Best regards, Iuliia

Iuliia Diakiv,

 

We strongly discourage you from using an anonymous web-service to return any data as this may threaten the safety of the whole system. 

 

To show a user any readable page (HTML or an image), you can easily store it at the directory of your instance and call it from there as usual. 

 

Regards, 

Anastasiia

Anastasiia Markina,

ok, I got your consern about using anonymous web service. But how can I return link to html page from general service, which you've suggested to use in your first comment? I can't seem to find the solution myself

 

Regards, Iuliia

Iuliia Diakiv,

 

We have been looking for the correct solution for your purpose. The best way to return the HTML-page without authentication and without threatening to system safety, at the same time, is to create a static HTML page.

 

Please put it to your root project directory: Terrasoft.WebApp > Nui

Then, a user will be able to open it as a standard HTML web page.

 

Regards, 

Anastasiia

Hi Anastasiia Markina,

 

Could you please let me know how to call/ return the HTML page from the anonymous service?

Edit : Adding below code worked.

 

WebOperationContext.Current.OutgoingResponse.StatusCode = System.Net.HttpStatusCode.Redirect;
WebOperationContext.Current.OutgoingResponse.Headers.Add("Location", "http://localhost:97/0/Nui/ThankYouPage.html" );

Shivani Lakshman,

 

According to Anastasiia explanation we don't have practical examples of such implementation.

 

https://academy.creatio.com/documents/technic-sdk/7-16/creating-anonymo…

 

As mentioned in this article you may use couple of web services.

 

Alternatively, OData will be the most flexible to achieve most of required scenarios:

 

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

 

As for example check this article how to get some data like files and you may change it according to your needed: 

 

https://community.creatio.com/questions/how-download-attachments-section

 

Hopefully it will be useful for you!

 

Regards, 

 

Bogdan L.

Show all comments