Время создания
Filters
Parallel
c#
script task
multithreading
8.3.3
Sales_Creatio_enterprise_edition
8.0

Is there a way to control parallelism when using Terrasoft.Core.Tasks.Task.StartNewWithUserConnection (see documentation here: https://academy.creatio.com/docs/8.x/dev/development-on-creatio-platform/back-end-development/data-operations-back-end/execute-operations-in-the-background/examples/register-a-background-operation )? The documentation doesn't mention it, and I don't want to overload the system or having the system spend too many resources on running a lot of these background tasks at once, but also want to be able to run them sufficiently in parallel to give performance boosts to a large task that needs to be performed.

 

I would also like to know if there is any way to check for task completion if possible, but it seems like these methods do not allow it - maybe I am missing something though?

Like 0

Like

1 comments

Hello,

Unfortunately, there is no direct way to control parallelism for the StartNewWithUserConnection method. However, it is possible to globally limit the number of threads used to execute requests by configuring the "MaxDopQueryHint thread count" system setting (MaxDopHintThreadsCount in code).
As a best practice, it is recommended to set this value to approximately one-quarter to one-half of the total available threads (assuming one thread corresponds to one CPU core). This approach helps ensure that resource-intensive operations do not consume all available system resources.

Additionally, there is no out-of-the-box functionality to determine whether a task has been completed. However, this can be implemented through custom logic within the UsrBackgroundActivityCreator class, specifically in the Run method referenced in the following article:
https://academy.creatio.com/docs/8.x/dev/development-on-creatio-platfor…
For example, you could implement a custom notification at the end of the method to indicate when the process has finished.

Show all comments
8.0

Hi Creatio Community,

I'm running Creatio 8.09 on-premise (localhost, Windows + IIS + PostgreSQL) and experiencing an issue where I cannot open the application in multiple browser tabs simultaneously.

Here is what happens:
- First tab opens and works perfectly fine
- When I try to open a second tab, it gets stuck on the loading screen indefinitely
- The second tab only loads after I close the first one
- The same issue occurs in incognito mode and across different browsers (Chrome, Edge, etc.)

Thank you in advance for your response!

Like 0

Like

3 comments

Creatio 8.0.x series was quite unstable, I would really recommend upgrading because lots of things have been fixed and improved since then.

This could also be due to the restrictions on Windows around websockets - local development environments have a very limited number of websockets available on Windows unless you are running a Windows Server edition. When this limit is reached it results in exactly the behaviour you are describing, and this happens when more than a couple of pages are open for Creatio in my experience.

Yes, what Harvey is saying - and for your case specifically, IIRC the issue is more pronounced if you are using Windows Home instead of Windows Pro - in that case, you can only open one tab at a time.

Best,
David

Show all comments

Hi,

We have started a campaign and sent bulk emails through Creatio. We would like to understand where customer email replies are stored or tracked within Creatio.

We are able to reply to the emails, but we are unable to identify where the incoming customer replied messages are visible in the system.

Could anyone please clarify where these replies can be viewed or how reply tracking works in Creatio?

Creatio version :  8.3.4.2753

Thank you!

Like 1

Like

2 comments

Reply tracking is not really working in Freedom UI (it cannot trigger the next step in a campaign). However in order to view replies the way we did it was to set up a mailbox with the return email. Then create an account and contact record with same email address. This way inbound emails should automatically link to that record for you to view under email history

Rob Watson,

Good trick !

However, it would be great if it could trigger next steps ! :)

Show all comments
How
to
remove
Email
signature
from
description
of
cases

Hi,

Currently, whenever the case is created the email signature is also added in the description. I want to remove the email signature from the description.

How can i do that?

 

Like 0

Like

1 comments

Hello,

At the moment, this behavior is part of the system's default logic.

However, we understand that it may not be convenient in this scenario. Therefore, we have already created a task for our R&D team to review the logic used to populate the Description field and evaluate the possibility of preventing the email signature content from being included there.

Thank you for bringing this issue to our attention. Feedback like this helps us identify opportunities to improve the product and user experience.

Show all comments

The problem every Creatio Cloud admin knows

If you administer Creatio Cloud, you've hit this wall. You need to answer a data question — find users created last week who haven't logged in, verify records after a migration, audit which entities were modified during a specific window, or debug why a process instance behaved unexpectedly. In an on-premise setup, you'd write a quick SQL query. On Cloud, you don't have direct database access.

So the question that should take thirty seconds becomes a support ticket, a UI reconstruction exercise, or a CSV export into Excel. None of these scale, and every Creatio team I've worked with absorbs this cost silently, week after week.

I built SQL Cor to close that gap — without throwing away the safety that made Cloud abstract the database in the first place.

What SQL Cor is

SQL Cor is a Creatio application that adds a controlled SQL terminal directly inside your environment. It's installed as a standard package and runs on both Cloud and on-premise, against PostgreSQL or MSSQL.

The design principle is simple: give admins direct query access, but make every layer of it controlled and auditable.


How access control works

This is the part that matters most, so I'll be specific.

Permission levels are graded per user. Each authorized user is assigned one of three levels:

  • Read-only — SELECT queries only. This covers the overwhelming majority of day-to-day operational questions.
  • DML — INSERT, UPDATE, DELETE. For users who need to fix data, not just read it.
  • DDL — schema-level operations. Granted rarely and deliberately.

A query blacklist operates above roles. You can block patterns system-wide, regardless of a user's permission level. For example, you can block all DROP TABLE operations entirely, so even a DDL-level user cannot execute them. Blacklist rules can be defined by pattern or by category.

Safe defaults protect the environment. SELECT queries get automatic row-limit injection so a careless query can't pull millions of rows and strain the server. Timeouts are configurable. There's a dry-run mode that previews which rows a DML operation would affect before you actually run it.

The audit log

Every query that runs through SQL Cor is logged: the user who ran it, the timestamp, the query text, the result summary, and the execution time.

This is the piece that makes direct database access defensible in environments where traceability matters. You're not giving up the audit trail to gain query access — you keep both. In a compliance-sensitive setup, being able to answer "who ran what against the database, and when" is not a nice-to-have. It's a requirement.


Why it's built this way

The interesting realization while building SQL Cor was that the value isn't the SQL terminal itself. Tools like pgAdmin and SSMS have existed for years. The value is controlled access in an environment that deliberately removed it.

Both sides of the tension are legitimate. Creatio Cloud abstracts the database for good reasons — safety, stability, separation of concerns. But admins still have a real, recurring need to query data directly. SQL Cor resolves that tension instead of ignoring either side: the access is real, but it's graded, gated, and logged.

There's also a quieter benefit. When the cost of asking a data question drops to near zero, people ask more questions — and the quality of their work goes up. When every question costs a two-day ticket, teams ration questions without realizing it. That rationing has a hidden cost nobody measures.

Feature summary

  • Direct SQL execution against the Creatio database (PostgreSQL or MSSQL)
  • Graded access control — Read-only / DML / DDL, assigned per user
  • Query blacklist — block dangerous patterns system-wide, regardless of role
  • Full audit log — every query logged with user, timestamp, result, execution time
  • Safe defaults — automatic row-limit injection on SELECTs, configurable timeouts
  • Dry-run mode — preview affected rows before running a DML statement
  • Dark / light themes, English and Ukrainian
  • Administration page for managing access rules, blacklist entries, and viewing logs
  • Installs as a standard Creatio package — self-contained, no external dependencies
  • Works on Creatio Cloud and on-premise

Current status

SQL Cor is currently in an open testing period. The build is stable and in active use. Over the testing period I'm focusing on:

  • Expanding the pre-defined blacklist categories
  • Refining the audit log export
  • A saved-query library for common admin tasks
  • Per-environment configuration profiles for agencies managing multiple clients

After the testing period, SQL Cor will be published for download and installation as a standard Creatio package.

Getting started

Documentation & installation guide: 👉 sql.opuscor.com — full feature reference, user guide, admin guide, and installation instructions

Source code (coming soon after testing period): 👉 github.com/OpusCor/SQL — public repository where the package will be available for download and installation

Live demo access: Currently in open testing. Demo credentials are shared via LinkedIn — visit linkedin.com/in/koliada-artem and check the beta announcement post for access to a live Creatio environment where you can run actual SQL Cor queries.

Feedback welcome

This is a tool built by someone who runs Creatio, for people who run Creatio. If you administer Creatio Cloud and have hit the no-database-access wall, I'd genuinely like to hear how you currently handle it — tickets to the vendor, dashboards for everything, exports to BI tools, or something else.

And if the access-control model, the audit approach, or any feature here sparks a question or a "you should also handle X" — that's exactly the kind of feedback that makes the testing period worth running. Reply here in the Community, and let's talk.
 

Like 3

Like

Share

2 comments

Hi it seems there is no install package on Github

Artem Evdokimenko,

Hi Artem, thanks for checking! You're right - the install package isn't on GitHub yet. That's intentional. SQL Cor is currently in an open testing period. The package will be published to GitHub after testing wraps up.

For now, the live demo is available - you can test the actual functionality without installing. See the "Getting started" section in the article above for the demo access link (via LinkedIn). Documentation is complete at sql.opuscor.com if you want to understand how it works before the release.

The GitHub repo is active with full documentation and status updates - github.com/OpusCor/SQL. You can follow the repo to get notified when the package is released.
If you have ideas for improvements or feedback on the design - reach out directly or reply here. Always open to how this can be better.

Show all comments