Hi community,

 

I've this situation where I need to refresh my Opportunity Section right after I save my mini page when creating a new Opportunity.

Since some of the values are calculated during this "save" operation using a business process, I've tried to send a message to my Opportunity  Section page, using the same process. But the main problem happens when two or more users are in the Opportunity Section page those pages (Opportunity Section of each user) are refreshed. Is there any solution to refresh the page of only one user (the user that created the new Opportunity)?

 

Thanks in Advance.

 

Best Regards,

Pedro Pinheiro

Like 1

Like

3 comments
Best reply

Hello Pedro,

To reload/refresh a section list, you can use:

this.updateSection();

As far as sending a message for only the current user, you can use the ServerChannel to send a message from a process and include the user Id of who created the opportunity in the message, then check that value with the current user when received on the client.

Info on sending a message from server to client: https://customerfx.com/article/how-to-refresh-a-page-from-a-process-in-…

Info on getting current user: https://customerfx.com/article/getting-the-current-user-in-bpmonline/

Ryan

Hello Pedro,

To reload/refresh a section list, you can use:

this.updateSection();

As far as sending a message for only the current user, you can use the ServerChannel to send a message from a process and include the user Id of who created the opportunity in the message, then check that value with the current user when received on the client.

Info on sending a message from server to client: https://customerfx.com/article/how-to-refresh-a-page-from-a-process-in-…

Info on getting current user: https://customerfx.com/article/getting-the-current-user-in-bpmonline/

Ryan

I've also written up a more detailed description of the ways to refresh a section, or parts of a section, here: https://customerfx.com/article/refreshing-a-section-list-in-creatio/

Ryan

Ryan Farley,

Thanks for the response, your solution fixed our problem.

 

Best Regards,

Pedro Pinheiro

Show all comments

I need to send plain text emails from a "send email" block in my business processes.

In the configuration of the body of the email in the content designer I cannot find the option to set plain text body.. all the blocks I can see are HTML blocks.

How can I send plain text emails?

Like 0

Like

2 comments

Dear Massimiliano, 



Unfortunately, there is no possibility to create a plain text email template in Creatio and consequently send such templates using send email element of your business process.

We already have an idea registered for the responsible R&D team to add this functionality in future Creatio releases. We will notify them about this request so to increase the priority of this idea. 



However, you may try to use a workaround to send a plain-text email via business process. 

You can use an Add Data element which would create a new activity with Email Type, fill-out all the needed fields and set "IsHtmlBody" value false and send it using a script-task after. 



In this way an email should be sent as a plain-text. 



Kind regards,

Roman

Roman Brown,

Thank you for your suggestion.

I just tried to use an "Add Data" element to create an activity of type e-mail connected to a Case with the fields as shown in this picture:

 

This email is shonw as "Draft" in the Case "PROCESSING" tab and it has not been sent: Are there some other fields to set so the email is automatically sent from the Business Process?

King Regards

Massimiliano

Show all comments

I have a business process that, when in a Case the Assignees Group is set, must send an email to the Manager ot that group.

The Assignees Group is an Organizational Role where we set a Manager User (see image: for "Team Engineering" group the manager is contact "VAR").

Our Business Process must read the Manager of the Assignees Group of the case so we can send an email.

I didn't find the objects to obtain the needed informations in "Read data" elements in our Business Process.

Please.. can somebody help me?

Thank you

Like 0

Like

1 comments

Dear Massimiliano,

 

Due to the system architecture, it is not possible to read this data via the business process. Instead, you can create as many flows as Assignees Groups, specify manager role for each assignee group role and send an email via script task as described here: https://community.creatio.com/questions/send-email-organizational-role-…;

 

Best regards,

Angela

Show all comments

Hi Community,

 

I have a scheduled business process which has some script tasks in it. Now if something fails or if an error occurs, I want to automatically re-trigger the business process again. How can I possibly do this?

Like 0

Like

1 comments

Dear Fulgen,

 

There is no way to re-trigger the process but you can use a script task to read the failed process in SysProcessLog, for example that is in status Error, and launch a new process instance. It will not be the same process that failed but only a new one.

 

Regards,

Dean

Show all comments

Hello Community!

 

The documentation does not help much with respect when the "Serialize in DB" option in the Business process designer should be selected or not. The following is what is mentioned - 

 

[Serialize in DB] – saves parameter values for the running process in the database. Serialization is used for long processes. For example, if a new activity is created in the process and should be completed only after a certain time, all process parameters will be saved and the process can be resumed any time, even when you log out of the system.



1. Is the "Serialize in DB" option mandatory to be selected for all processes which involve user intervention? Eg I find that If I have a "User Dialog" element, the business process errors out if I don't select "Serialize in DB". 

2. What is the relation between execution of BPs and logging out of a user? How does it correlate to selection of "Serialize in DB"?? 



A few examples will help

Like 1

Like

3 comments
Best reply

Hello,

 

It is necessary to have this checkbox if the process should be stopped for some certain time, for example if you have any timer, activity that has to be performed as well as user dialog, etc.

This checkbox allows saving parameters data in the database. If it is not selected, the process data will be just saved in the browser cache. If it is long term process, the cached data might be cleared, especially if the user logged out,  so the process would not move forward. 

 

Regards,

Dean

Hello,

 

It is necessary to have this checkbox if the process should be stopped for some certain time, for example if you have any timer, activity that has to be performed as well as user dialog, etc.

This checkbox allows saving parameters data in the database. If it is not selected, the process data will be just saved in the browser cache. If it is long term process, the cached data might be cleared, especially if the user logged out,  so the process would not move forward. 

 

Regards,

Dean

dean parrett,

Thank you Dean

dean parrett,

 

What would be a good reason for not serializing in DB? Is it just a performance benefit from not having to write data to the DB? Are there other benefits? Thanks.

Show all comments

I was trying to choose a random user as a sender of the automatic email in Business process.

I wanted to avoid development in C#. Using only business process elements as in the cloud version. Creatio Sales Enterprise v.7.16.



The workaround I found for random is a formula like

RoundOff(DateTime.Now.Ticks / 17) % 2 == 0 ? "user1" : "user2"

This selects one of the strings "user1" or "user2", and by this string, whether it's Full name, Email, or else, the user can be determined.

But this works only for 2 users and crashes if any string changes.

 

I think such situations happen when we simply need to pick up a random element of selection.

 

But then I thought Creatio could add a new read data mode:

 

This isn't as complicated to implement, is it?

2 comments

Dear Yuriy,

 

Thank you for the idea! I will definitely pass it to our R&D team so they could consider implementing the following functionality.

 

Best regards,

Angela

Hi Yuriy,

 

As a workaround this gap of ootb solution You can store list of users in eg. Parameter 1- Text unlimited , separated by semicolon.

 

Next You may use Your random function to build formula like this one ...

[#Parameter 1#].Split(';')[RoundOf(....)%1]) .

 

Regards,

Marcin

Show all comments

Hello all,

 

I am trying to create business process where the user is able to select an email template, decide whether or not they want to include the attachments from the object in the email (i.e. if they are sending from a document record, include the attachments from the document record), and then have the chance to customize the email before sending.

 

I have figured out a couple ways to include the attachments with the email but I can't figure out how to allow the user to select the template. Is there a way I can pass an email template into the "Send email" Process element? 

Like 0

Like

2 comments

Dear Kevin,

 

You can use Auto-generated page and show lookup with templates so the user could select them, or forward the user to Templates lookup. Process "Send email to case group" is a great example of how to fill macro values in the template and then send it as an email automatically. Check "Handle template for email with macros" element for more details. 

 

Best regards,

Angela

Hi Kevin,



I am curious what did you do to solve your problem?

I am experiencing a weird bug now actually. Every time i visit my business process it clears the templateId i set on advance mode.

 

Can you enlighten me?



Best Regards,

Solem

Show all comments

Hello,

 

I want to enable a "Completed & Follow" status en activities, in the process to treat this activity status I want to enable the possibility to create a Zoom meeting in case of, but on the Activity table i didn't found the "Create Zoom Meeting" field, how can I did it?

 

I found a "Zoom Meeting" but have no idea how to complete it, and didn't found how to relate with Activity table.

 

Thanks in advance

Like 0

Like

4 comments
Best reply

Hello Julio,



We recommend you to log out and log back in the application after you add the 'ZoomIntegration' package to the dependencies.



The 'Create Zoom Meeting' field should become available for the 'Activity' table in the 'Add data' process element after you do this. 

 

Hope this helps.

Hi Julio, 

 

Are you trying to configure your business process in the "Custom" package or any other? 

Hello S.Kobizka,

 

In another Package, I add the ZoomIntegration package to the dependencies, see at http://prntscr.com/t0snjq

Hello Julio,



We recommend you to log out and log back in the application after you add the 'ZoomIntegration' package to the dependencies.



The 'Create Zoom Meeting' field should become available for the 'Activity' table in the 'Add data' process element after you do this. 

 

Hope this helps.

S.Kobizka,

Thanks, now works, I'm sure I will logout & login and also clear the cache, but today I did it again and have the field, thank you very much!

Show all comments

Hi,

 

I have a use case to work on that in includes all the business processes to be available for only System Admin, besides one that needs to be ONLY run by users that have access to Opportunities.

I tries "CanRunBusinessProcesses" operation permission but this will prompt access to all existing processes.

 

Thanks

Like 0

Like

1 comments

Dear Kavian,

 

By default, it's not possible to perform such kind of separation. What I propose to do instead is to create operation permission (for instance "CanRunBusinessProcesses") and check it before the execution of the process. This should work exactly the way you need.

 

Regards,

Dean

Show all comments

Dear mates,

In the case designer, i ve a process which launch a process which open a mail with a proposal for a contact.

Process:

Sub Process:

The case designer:

when the email is send, i would like to go to the next stage (Proposition Envoyée).

The Problem is that when the user select a model in the email panel, it saves the email and the process goto "Proposition envoyée" which change the section stage.

 

i would like to go to the next stage onlyt when the mail is send.

how could i do that ?

 

Thank you,

Nicolas

 

Like 0

Like

2 comments

Hello Nicolas,

 

There are several ways to achieve your task and the easiest way to do that is to do the following: in the "Open edit page" element of your sub-process modify the "When is the element considered complete?" parameter value to the "If the record matches conditions" and specify that the activity status (status) should be completed:

The problem in your case is that the "Open edit page" element is considered to be completed once you specify any changes and save the record, but not when the activity itself is completed (the email is sent) because the value for the "When is the element considered complete?" parameter by default is "Immediately after saving the record" and as a result each time you specify any changes to the activity it is being saved and the edit page considered to be completed and the process continues its execution.

 

Best regards,

Oscar

 

 

Oscar Dylan,

Thank you Oscar, it solved my problem !

 

Show all comments