On-screen actions - Dialog block

The Dialog action block is a set of actions that provide an interactive interface like showing a confirmation message, providing an alert or even a small temporary pop-up or toast on completion of your actions.

dialogs

Confirm

The confirm action provides a confirmation popup that is positioned on the form and overlays the content on the form. Typically in scenarios like deleting records where you want confirmation before you proceed, you can make use of this block. It will have a prompt or message text and the confirm and the cancel action button. You can define the name for the buttons as per your entire user interface.

|459.2178026780734x368

  • Title: Is the title of the dialog box which sets the action expression for the confirmation box.
  • Message: Is the message displayed to inform the user for confirmation.
  • Confirm Button Text: This is the text that appears on the Confirmation button. It can be set to anything depending on your user interface. Typically it can be as simple as Confirm, Yes, Save and so on.
  • Cancel Button: Is the text that appears on the cancel button. The action performed would be that of cancellation on click of this button.

You can then specify a condition as to when to execute the action and which environment. An Action Unique name is important, that would help you identify the tasks in the flow.

Alert

Alert is used to show a message and proceed on a response. There is typically a simple single button to provide input and then move to the next step. It takes the focus from the current window to the alert / popup and proceeds on reading the message. There would not be any value input, but just a message to the user before proceeding and a single button to move to the next step on clicking the same.

Toast

The Toast is also a small text popup to show the notification message to the user. However, it is not intrusive and automatically disappears after a few seconds. It doesn’t block the user experience or force the user to tap OK.

By default, it shows an OK button next to your message, but you can optionally remove that.

  • Type: This is the type of prompt that is shown. It can be success, warning, error, or info type of prompt depending upon your usage. The color of the box would be changed according to the type of box.

  • Title: This is the short title that appears on the prompt.

  • Message: This is the actual message that appears on the screen. You would usually have a short crisp tone to the message as the Toast appears as a non-intrusive pop-up on the screen.

  • Position on Screen: Specifies the position of the Toast on the form. It can be set to top left, top right, top full width, bottom full width, top center, or bottom center.

  • Show Close Button: This is a toggle button to specify whether to display the Close button on the toast. This would enable users to close it in case they want to do it earlier than the delay specified using the Close after property.

  • Close After (in milliseconds): This is the time in milliseconds after which the prompt would be closed.