Dear colleagues,

 

Somebody know how can I start a campaign from a process?

 

Or execute the code behind the "START CAMPAIGN" button on campaigns, when campaign is on manual start mode or the SCHEDULE CAMPAIGN if the campaign start mode is "at the specified time"

 

Thanks in advance

Like 0

Like

3 comments

Hello,

 

You can find all the campaign options here:

https://academy.creatio.com/docs/user/marketing_tools/marketing_campain…

 

Could you explain your business goal in more detail?

Kalymbet Anastasia,

Hi, sure I have a campaign we need start and stop due some conditions, so I can change from a Process some campaigns values, but cannot Start it from the process (or I don't know how to do it).

 

If I have a manual start campaign, it has a button to start it https://prnt.sc/PRhNgH_YhpGI, and if it has a start date defines we have the Schedule campaign button https://prnt.sc/fzSsKfTPvJ0a, so in both cases the campaign need a manual action to start immediately or to schedule to start in the specified date.

 

My question is, can I from a process trigger the actions behind the buttons, or start it when manual or schedule when has a start defined date?

 

Thanks for your help and support

 

Regards

Julio Falcón

Kalymbet Anastasia,

Hello, have you some idea how to solve what I exposed?

Show all comments

Hello Community,

I have created a button in a MiniPage which via the ProcessModuleUtilities executes a business proccess.

 

This business process has simple logic, its reponsible for opening a preconfigured page.

 

I want that when clicking the button, the preconfigured page is opened in a new Browser Window

How can that be achieved

Sasori

Like 0

Like

5 comments

Hello Sasori,

 

There is no option to achieve the task required in your case unfortunately even using NetworkUtilities or message sending from the server to the client. I've registered this as a suggestion to our core R&D team so they could add this feature in the next application releases. Thank you for helping us in making the application better!

Hello Oleg,

Thank you for you quick reply.

 

As a workaround for the solution of this businnes need can be the answer to this community post that i have created

https://community.creatio.com/questions/open-city-edit-page-new-browser…

I have managed to open the CityPageV2 in a new tab

 

openNewTab: function () {
				var requestUrl = ["http://localhost:9004/0/Nui/ViewModule.aspx#CardModuleV2/CityPageV2/edit/"]
				 window.open(requestUrl, '_blank');
			}

But my last problem is that i want to open the page in ADDMode not EditMode. Shpuld i modify the requestURL ?

Sasori Oshigaki,

 

this is what I was talking about - there is no way to open a preconfigured page inside the process since it has no particular link, it's a business process page. When you add a new record to the city pay attention to the link in the browser and you will see that it's not changed.

Oleg Drobina,

When i click new from the Modal Window

I am redirected to the CityPage in ADD mode

If I mimic this behaviour from that custom button that I have Created, and place it in a new Browser Window, I can achieve my business need. 

I know that the responsible method is getSelectionControlsConfig in LookupPageViewGenerator schema.

But can you provide with a similar example ? Or a workaround to achieve my business need ?

If you still think that there no way of doing this, i will interrupt my research.

Your help is much appreciated Oleg.

Thank you

Oleg Drobina,

I managed to solve the business need via a workaround. Thank you 

Show all comments

Hello!



As we connect records to the processes, we would like to display in a detail of the page (e.g. Account) all processes (from Process log) connected to that Account.



How could it be possible?

 

Thank you!

Like 1

Like

3 comments

Good day,

 

I believe that you should be able to achieve your goal by using a [Connect process to object] process element.

 

With it, you can connect the started process to the Account you want.

First you will need to read out the Id of the record the process should be connected to and then tie it in that element, it should look something like this:

 

Hope it helps!

Artem,

Thanks, but we already know how to connect. Now we want to display all the processes connected to the certain Account in the detail on Account page

Good day,

 

You could try creating a custom detail to your section.

The information on the processes connections are stored in the "Object in process" table (code: SysProcessEntity)

 

Thank you.

Show all comments

Hi Team, 

 

I have a web service returning application/pdf type. I would like to use the web service integration and send that to the client side as base64. Any ideas on how I can convert the result of the WS to base64 in the business process?

 

Like 0

Like

1 comments

Hello!

 

I have a business process that will open a sub-process. That one I want to have a timer so every 10 minutes it will be called until it finds some type of value.

 

Is there a way to do that?

 

Thank you!

Like 0

Like

2 comments

Hello,

 

Have you tried using the [Start timer] event?

 

There is a Parameters of the “Other frequency” option.

You can select the "Other frequency” option in the [Process launch frequency] field to set a custom process frequency via a cron-expression.

Yes, it works but it still doesn't really help me. I want for the timer to run every 5 minutes only when I start that sub process. That process is trigger by the pressing of a button.

Show all comments

Hello community!

 

I would like to know if there is any way in which I can connect a process to all the records in a detail. So basically if my Opportunity has a detail called Products I need that when I click "Run process" this process to run for all the records existing in this detail.

Is this possible? How can I implement it?

Thank you.

Like 0

Like

1 comments

Hello,

 

In the current version of the application there is no way to run a process from a section which will be triggered for several records. But you can create a process that can be triggered manually for several records.



To do that you need to add a checkbox field to an account page that will be filled in by the business process that will be executed. Here is a scenario of a business process:



1) Process is triggered manually;

2) Then it runs its logic;

3) Then there should be "Modify data" element that will fill the created checkbox in;

4) After that there will be two flows: conditional flow and default flow. In conditional flow there should be a condition that checkbox is filled in and this conditional flow creates a loop in a process and goes to the very first element of the process which goes right after start signal. Default flow goes to "Terminate" element.



The logic here is that the process will apply changes based on its logic to a record, then it will fill the checkbox in and if it finds another record in a section which has a checkbox not filled in it goes to the very beginning of a process and apply changes to this next record based on the logic of a business process. After several iterations all records that need to be changed will be changed successfully.



In this process the very first element should be "Read data" element with your optional conditions and one required condition - that the checkbox is not filled in. As a result the business process will process several records. Also you can create a process that will uncheck the checkbox once the main process is finished.



It is hard to explain how to create such a process and that's why I am adding your manager Bogdan to this email in case you need additional help in building this process. I will also create a suggestion to our R&D team regarding the problem of possibility of launching a process in a section for several records and I hope they will find a way to implement such a logic in one of future versions of the application.

Show all comments

Hello all,

 

I am trying to bind the processes that I'm running from section to the package, so when we transfer the package into prod the processes will remain attached to the sections. How can I achieve this? It is unclear.

 

Thank you!

Like 0

Like

1 comments

Hi Maria,



this information is stored in ProcessInModules object.

So, if you want to attach this on the prod, you need just to bind data with this records.

If you want to delete it from the prod, you need to run such script with your processes schemas Id's in it:



delete from "ProcessInModules"

Where "SysSchemaUId" IN  ('1b0e7dfb-5f68-4d7c-8641-88276ef47148','3d523f87-b74f-414f-9f3c-509f326f8313','006df98f-dde0-4997-b904-9fc0586c10d2')

 

Kind regards,

Vladimir

Show all comments

Hello!

 

I want to add a pop-up whenever a process starts. For example, I have a process that deleted an opportunity. This will open another process. Through code, I want the pop-up to appear when that second process starts or ends.

 

Does anybody know how I can do this?

 

Thank you!

Like 0

Like

3 comments

Dear Diana,

 

Thanks for your question.

 

 

To have a pop-up windows element in business processes you can use the following marketplace solution: 

https://marketplace.creatio.com/template/popup-element-business-process…

 

Hope this recommendation is helpful to you!

 

Best regards,

Anastasiia

Hi!

 

This add-on doesn't work, that's why I want to add the pop-up through code

Ghiu Diana Stefania,

 

You can refer the following article to understand the logic of how to send websocket message from a process script task and receive the message on the client side.

 

Add message publication logic through WebSocket

 

Hope this helps.

 

Regards,

Sourav

 

Show all comments

*As* the head of the sales department

 *I want* to control the amount of discounts granted

 *because* I don't want excessive discounts to drag my company into debt.

 

 *Criteria:* 

 Module *Orders*

 * Addition of "Acceptance status":

 ** Values:

 *** +N/A+

 *** Pending approval

 *** Discount accepted

 *** Discount rejected

 ** Auditable and non-editable field

 * If discount greater than zero and value less than 1000 (system currency ), or a discount greater than 10 and a value less than 10,000, then send an email to your supervisor requesting approval. In addition, it changes the Acceptance Status to "Waiting for approval".

 * If the superior accepts the discount, then Send an email to the order supervisor (assigned to) that ok. Additionally, it changes the Acceptance Status to "Discount accepted".

 * If no acceptance, set the discount to zero. Send an e-mail to the order supervisor. Additionally, it changes the Acceptance status to "Discount rejected".

 * Discount, Value are to be auditable.

 * Add action buttons Accept discount, Reject discount - visible only to the supervisor of the order supervisor and when the status = Waiting for acceptance

 

 Email content :

 * to supervisor: "Order requires your acceptance of discount."

 * to order supervisor after approval by supervisor: "Discount for order has been accepted."

 * to order supervisor after rejection by supervisor: "Discount for order has been rejected."

 

How the business process will look like?

Like 1

Like

1 comments

Hello Arkadiusz,

 

Detailed information about business process design and business process elements is covered in corresponding articles on our Academy, we'd suggest you to check the below and connected to it articles, so you could implement your business task with basic system tools:



https://academy.creatio.com/docs/user/bpm_tools/business_process_setup/business_process_setup/process_designer_basics

https://academy.creatio.com/docs/user/bpm_tools/business_process_setup



If you'd need further practical assistance with creating a business process, we'd suggest you to contact your responsible Creatio manager.



Best regards, 

Anastasiia

Show all comments

If the account contact has not communicated with the customer for 30 days, create a phone call in three consecutive days for the account manager.

Communicating with a customer means any activity (mail [sent], telephone conversation [carried out], meeting [carried out]) related to the customer or customer order.

Assigned to is to be obligatory in the following modules: Account, Order.

How the business process will be look like?

Like 0

Like

3 comments

Hi colleagues,

 

The start element of the BP may be a timer which will be started every day using the CRON expression.

Then few read data elements will be reading activities, emails, and meetings where the contact is set as Responsible or being the owner of these records.

Then few conditional flows will check when was the latest communication

If there were no communication for the last 30 days - the Activity element will be executed, which will create a task for the contact to communicate with the customer.

 

Best regards, Alex.

Thanks for reply

But can i do this with no-code tools?

Arkadiusz Polus,

All that was mentioned above can be achieved with no-code OOTB tools using a business process designer.

 

Best regards, Alex.

Show all comments