I am Using Creatio 8.2.2 and am currently confused on how to send an email and taking fields from a page and inserting it into the script task, here is my script task

i am trying to take a field called Alamat Penilai as the Send email to

also inserting Nama Penilai, Nama Debitur, Produk, Tujuan Penilaian, Jenis Agunan into the body of the email, one of the fields is a dropdown aswell(extra info if needed). I am also going to use SMTP as a way to send the email from

 

so how do i go about this? how do i configure the script task to run as i wish?

 

Like 1

Like

7 comments

An easy way is to just read the data in the process using Read Data elements, then use formulas to place any values in process parameters. Then, in the script task you can just retrieve them using: 

var recipient = Get<string>("MyRecipientParameter");

Basically, retrieve any process parameter using:

var val = Get<type>("TheParameterName");

Also, it's possible to just add a mailbox in the system with the send SMTP values only and uncheck the downloading email option so it's a send only account. See (sorry, very old screenshot, but concept is the same) https://community.creatio.com/questions/office365-oauth-mailbox-synchronisation

Then, with the mailbox added, you can simply use the process Email element and do it all with no code.

Ryan

so do i need to use script task in the business process aswell or do i configure based on Mailjet, since i have 0 clue on how to handle this in creatio, and also what to write in the script task if i am going to use it

 

Ryan Farley,

so do i use the Send Email process or the script task process to take in parameters, output a to email, get the from email from smtp and build a body and subject through parameters taken from other fields?

Michael Fernando Handoyo,

It's easier to use the "Send email" process element since you can select a mailbox there to be used for sending (and this mailbox should be synced in the Creatio application (and this sync is also needed even if sending an email from the script task)) and also fetch needed values from a record to use them in the email subject or body. See the description of the element here.

Michael Fernando Handoyo,

As Oleg mentioned, typically you'll use the Send email process element. It's very easy to add values into the email body from data. Sending email via code is something I don't often do except for very rare/outlier situations. 

Basically, (1) you'll add the mailbox in Creatio and then (2) Use Send email element in the process and select the mailbox to use for the send. (See links shared by Oleg)

Oleg Drobina,

okay so according to the process this is as far as i was able to do it

and this is also the SMTP server that i am using where do i need to insert the password for it? and do i use the server address as my own gmail address or like Creatio@Gmail.com or was it Creatio@domain.com ? please guide me through this

Michael Fernando Handoyo,

You need to use this article for connecting your Gmail mailbox to the application. Only once the mailbox is synced into the Creatio application you will be able to use this mailbox in the business process "Send email" element.

Show all comments
formulas
#aggregation functions
Business Process
formula
Sales_Creatio_team_edition
8.0

Where can I get all details on allowed formula systax and possible functions allowed to use
For example I was working to extract month & year from date and it was not so easy to understand best function allowed in business process formulas windows.

Looking for more details in addition to what we can see here:
https://academy.creatio.com/docs/8.x/no-code-customization/bpm-tools/bu…

Like 0

Like

1 comments
Best reply

Formulas are C#. Creatio does have a few built in functions that can be used in formulas, but for the most part, it's a better approach to just think of it as C#. For extracting the month and year from a date, you'd just use C# syntax for Year and Month. For example:

[#SomeDate#].Year

Ryan

Formulas are C#. Creatio does have a few built in functions that can be used in formulas, but for the most part, it's a better approach to just think of it as C#. For extracting the month and year from a date, you'd just use C# syntax for Year and Month. For example:

[#SomeDate#].Year

Ryan

Show all comments
Service_Creatio
8.0

Hello Everyone!,

Is there a way to fetch the conversation history that is located in the "Case" module through API?

Like 0

Like

1 comments

Hello,

Yes, it is possible to fetch the conversation history related to a Case through the API. However, the conversation history is not stored directly within the Case module. Instead, this data is maintained in a separate Activity table.

Each entry in the Activity table - such as emails, calls, notes, or messages - is linked to a Case via a foreign key relationship. This means that each activity record includes a reference to the specific Case it belongs to.

To retrieve the conversation history for a particular Case, you will need to use the API to query the Activity table and filter the results based on the Case’s ID. This will return all the related communication entries tied to that Case.

Creatio supports the OData protocol, which enables structured querying through parameters. OData is a standardized, REST-based protocol that allows for the querying and manipulation of data using simple HTTP messages and URIs, enabling seamless integration between data sources and clients.

To filter records, you can use the $filter parameter along with the eq (equals) operator.  For example :

https://mycreatio.com/0/odata/Collection1?$filter=Field2 eq 'Field2Value'

This allows you to request a filtered collection of Activity records where the Case reference matches a specific value.

You can find more detailed guidance in the official Creatio OData API documentation.

Show all comments
Business Process
Marketing_Creatio
8.0

Hi All, I am trying to create a simple business process to add a new record in my custom object (EMAIL KPI) as soon as a record is inserted in BulkEmailTarget (Response in Email) object. I have used signal (record added) in BulkEmailTarget (Response in Email) to create such a business process; but the process is not triggered when a new record is added to the BulkEmailTarget object. What am I missing here?Thank you

 

 

 

 

 

Like 0

Like

1 comments


Hello,

We have reviewed your request and identified the root cause of the issue: the records in the BulkEmailTarget table are being added bypassing the entity layer, which means the associated business process is not triggered.

At this point, we recommend reconsidering your business requirement and the way it is currently being implemented. 

Regards,
Orkhan

Show all comments
checkbox
FreedomUI
required
Studio_Creatio
8.0

Hello

I'm trying to mark a boolean as required, but that option doesn't appear in the settings.

Does anyone know how I can mark the checkbox as required?

Fig. 1 Set up a Checkbox field

 

Thank you. 

 

Like 0

Like

2 comments

Making a checkbox required would only mean it can be checked (since there's no difference between unchecked and not filled in). Alternative approach is to use a lookup with Yes/No values (since then there is also a not filled in)

Hello Ryan Farley,

What happens is that I have a set of questions with three answer options each, and for each question, only one option needs to be filled out. I have a business rule that marks the boxes as required, but when one of them is selected, it disables the other two and makes them optional. The problem is that once you select a box and uncheck it, the required  disappears, allowing you to save with the three options blank. That's why I want to make the checkboxes required from the configuration.

 

And the reason for the checkboxes is that I require the checkmarks to appear in the Word report.

 

 

 

Show all comments
Studio_Creatio
8.0

Hi community,
    I have a use case where i want to include the images in printable reports in which i have to use the images which is uploaded in the attachements. Kindly tell me how to do this.

Thanks

Like 0

Like

2 comments

Hello,

Adding images to a printable form is possible using basic methods — the key is to correctly drill down and select the right column.

You need to create a table part in report with the required object. After that, add a column as follows:

image.png

image.png

image.png

I hope this helps. All the best!

Hanna Shevchenko,

The images are not visible. Would you please re-add them?

Show all comments
Sales_Creatio
sales_enterprise
8.0

Hello Community,

While working with the loader using <strong>sdk.MaskService</strong>, I'm trying to figure out how to display a custom message during the mask operation.

Here's the code I'm using:

let mask = new sdk.MaskService();
mask.showBodyMask();

// Code here

mask.hideBodyMask();
 

1. How can I display a custom message (e.g., "Loading Data, Please Wait...") while the mask is active?

2. Also, how can I apply the mask to a specific container?

Looking forward to your suggestions.

Regards,
Ajay K

 

Like 0

Like

2 comments
Best reply

The Freedom UI/new shell mask does not currently support displaying a message. Optionally, you could display a toast message in addition to showing the mask.

It only supports blocking the entire app/shell, not for specific containers only.

The Freedom UI/new shell mask does not currently support displaying a message. Optionally, you could display a toast message in addition to showing the mask.

It only supports blocking the entire app/shell, not for specific containers only.

Ryan Farley,

Thank you for the information.

Show all comments
Domain
#bulkemail
Marketing_Creatio
8.0

Hello,

I hope all is well.

I am encountering issues with setting my sender domain for adding my corporate domain to the bulk email settings page. For some reason it is saying that the domain exists in another sub account. I did not do this setup before in this Creatio instance, so I am unsure why I am getting this issue. 

 

Any help would be greatly appreciated. I attached an image of the error for your reference.

If the error message is not visible from the image, I am pasting it here:

 There was an error while adding domain: Unable to set sender domain: [Domain]. Message: This domain is associated with another Sub-Account (" [Sub Account ID] ") and cannot be added to this Sub-Account. If you need this domain to be associated with more than one Sub-Account you need to remove it from the Sub-Account and add it to the main Account. Main Account domains are always available to all Sub-Accounts.

error_message_image

Like 0

Like

2 comments

Is it already set in another Creatio instance ? you can only have one at a time.

Hello,

Please contact the support@creatio.com team.

Show all comments
Studio_Creatio
8.0

Hello Everyone, 

I want to know is there a way to add custom icon ( I want to add thumbsup and thumbsdown icon) in these options - 

 

Thanks

Like 0

Like

1 comments


Hello,

 Currently, adding custom icons to the system is not supported. However, there are plans to expand the standard icon library and provide the ability to add custom icons. We have attached your request for our R&D team task to increase its priority. 

 

In case of any further questions &ndash; send them in reply to this Email. We would be happy to assist!

Show all comments
FreedomUI
thumbnails
display
Sales_Creatio
8.0

Dear,

On the Classic UI we could have a thumbnail of the images in the browser:

Classic UI

But in Freedom the picto is not display:

Freedom UI


Is it possible to display the image thumbnail directly in the browser with Freedom UI?

Thank you !
Nicolas

Like 0

Like

4 comments

Hello,

Unfortunately, currently this is not possible with the out-of-the-box solution. 
If you want to display a certain image for the record, for example company logo for the account record, you can use an Image component.


You can also consider using the following marketplace solution: https://marketplace.creatio.com/app/banza-files-extended-creatio?check_…

I hope this helps! If you have any further questions or need assistance, feel free to reach out.

I have a marketplace addon coming that does this, it is still awaiting the approval for the marketplace to publish the addon - it takes a very long time for them to approve things 👎🏻 - hopefully it will be published soon. 

Hello Nicolas,

The add-on that displays image previews in the attachment list is now available in the marketplace: https://marketplace.creatio.com/app/image-previews-creatio

Ryan

Thank you Ryan
This is exactly what we needed !

Show all comments