Define the Message Content

The Patterns tab defines the content of the message that you want to send to your customers or systems. You can use variables within the body of the message to substitute the property value within the content of the message.

Based on the delivery channel, the template for the message differs as follows:
  • If the selected Delivery Channel is Email or External System, then the template for the message is defined using the Subject and Body fields.

  • If the selected Delivery Channel is Set Property, then the template for the message is defined using the property field and property value.

For example, assume that Cancellation Reason property is associated with the entity, Activity. When a customer cancels an activity, you need to set the Cancellation Reason property field for the activity to the value, 14. Using the Set Property delivery channel, you can use the Cancellation Reason property in the Subject field and define the required value in the Body field. So when the step is run, the application changes the value in the Cancellation Reason property to 14.

Also, you can determine when you want to generate the content of the message using the Generate content on message creation or Generate content on message sending options. Although the message is created when the message step is run, the property values may change after 40 minutes. Hence, select the Generate content on message sending option so that you receive the latest changes. For example, if you want to display the customer address in the content of the message, enter the label name of the property field using { }. For example, {caddress}.

  1. Select the Start test message step from the Scenario steps section.
  2. Select the Patterns tab.
  3. Enter test start in the Subject field.
  4. Enter start test activity started at {caddress} in the Body field.
  5. Select Generate content on message sending option and click Update.