With the show-message action you can show a blocking or non-blocking message to the user.
See Microflow Element Common Properties for properties that all activities share (for example, caption). This page only describes the properties specific to the action.
Action Properties
Type
Type defines the color scheme and icon of the message.
Option | Description |
---|---|
Information | Message is shown with a blue frame ([]) and an information icon. |
Warning | Message is shown with a yellow frame ([]) and a warning icon. |
Error | Message is shown with a red frame ([]) and an error icon. |
Default value: Information
Template
Template defines the text of the message. The template can contain parameters that are written as a number between braces, for example, {1}. The first parameter has number 1, the second 2 etcetera.
Parameters
For each parameter in the template you define a microflow expression of which the value will be inserted at the position of the parameter. Parameters need to be entered using microflow expressions resulting in a string.
With parameters you can customize your message with data specific to the situation. For example, the message “An e-mail has been sent to customer {1}.” with parameter $customer/FullName
will show the full name of the customer to whom an e-mail has been sent.
Blocking
Blocking defines whether the message appears with a hover on top of the existing form(s).
Option | Description |
---|---|
Yes | The message appears in a pop-up in the center of the screen on a blocking overlay, rendering the background inaccessible until the pop-up is closed. |
No | The message appears in a pop-up in the center of the screen but does not block the rest of the window, allowing the user to continue what they were doing with the pop-up open. |
Default value: Yes