Business process designer > Graphical elements / Send Message

Send Message

message_activity1 In a business process, the Send Message activity is used to notify customers and employees about any events via SMS. For example, you can configure an automatic notification about an order being transferred to the shipping company. Also, you can use it to let your staff know when they are assigned an important task.              

Set up integration

начало внимание

Only users included in the Administrators group can set up SMS notifications.

конец внимание

To use SMS notifications in your business process, you have to enable the module for sending SMS first. You can use ready-made SMSCenter and SMSRU integration modules or create a custom module for sending SMS. Read more about it in the Integration with an SMS service article.

 

Configure the activity

When the connection is established, you can set up the Send message activity in business processes. To do that, drag the Send message item to the process diagram. You will find it in the Integrations tab of the right menu.

Let's take the Order Processing process as an example. When the order is complete and ready to ship, we need to notify the client about it. To do this, add the Send message activity immediately after the Order completion task.

sma2

Double-click on the item to open settings and fill out the form:

sma3

 

  • Name*. Specify the activity name displayed on the process diagram.
  • SMS Service*. Select the service from the drop-down list.
  • Recipients*. Specify a context variable that stores the client's phone number or an employee that has to be notified. To add a variable, click on {+} in the right corner of the field. You can also enter a phone number in any format in this field.
  • Message*. Enter the text of the SMS notification. Using variables, you can specify the order number, date of sending, etc. To add a variable, click {+} in the right corner of the field. You can also add conditions and functions like for the name of the item on the template. This will generate a more informative message.

 

Error Handling tab

An error may occur when sending the SMS, for example, if access to the external service fails. You can decide how the system should behave in this case.

Go to the Error handling tab.

 

sma4

  • Retry. Enable this option if you want BRIX to try sending the notification again.
    • Number of retries. Specify the number of attempts to send the notification.
    • Retry delay (sec). Determine the frequency of attempts.
  • Notification. Select the option, and then specify the users to whom the process error notification will be sent. You can select the current user, user group, or org chart item, or specify a context variable, for example, the process initiator. Please note, that the current user is the person who has completed the task located before the SMS notification on the process diagram.
  • Interrupt. For the correct operation of the activity, it is necessary to enable the option and then specify in the Connector field which branch the process will follow in case of an error. The transition specified in these settings will be marked on the process diagram with the icon clip0199.

 

After you specify all the settings, click Save and publish the process.

Now, as soon as the process reaches a certain point, an SMS notification with the specified text will be sent to the client's phone.