Confirmation Message Configuration
Confirmation Messages
Confirmation messages can be added to Actionflows, e.g. Save, Delete, etc. by inserting an additional
A confirmation phase is useful where the user must:
Confirm an action before continuing
Choose an option to determine which phase runs
Confirmation Screens
Confirmation messages require two screens:
An initiator screen where the required action (e.g. delete) is initiated from
A confirmation screen that contains the confirmation message, plus buttons to confirm/proceed or cancel/go back
the button for confirm/proceed must be set up with an Action Type of Confirmation
the button for cancel/go back must be set up with an Action Type of Close Screen
The Serene Grey palette contains a template confirmation screen with preconfigured Confirm and Cancel buttons
See Creating or Opening a Screen.
Creating Confirmation Messages
On the confirmation screen, click on the Confirm button to open its
, then click on theIn the Action Settings, set:
Action Method: choose
OtherAction Type: choose
Confirmationthis setup allows the Confirm button to trigger the next phase in the Actionflow
On the initiator screen, set up the Actionflow for the required action, e.g. Delete
Open the Actionflow for the required action, and above the Actionflow canvas, click the
icon next to the ProcessingChoose Add Phase Before to set up the confirmation phase
On the confirmation phase, select Click to Connect and choose the Input of On Click
From the Actionflow toolbar, click
to open the list of available screensDrag the confirmation screen onto the Actionflow to create an
action node
Drag the
icon from Connections onto the Open Confirmation Screen action node to connect themTo allow the confirmation screen to trigger the next
phase in the Actionflow, drag aaction node from the toolbar onto the canvas and in the popup select the ProcessingHover over the
action node and click , then click theaction node to connect them
Custom Messages
For bespoke confirmation screens that display information about the changes being made, see Custom Confirmation Message Configuration.
Worked Example
Here's a worked example using the School Data (available from the Learning Centre).
In this example, we are using:
A Course Management screen containing a grid of the School Courses data - this screen was created using the Tile with Buttons template
If you are completing this chapter as part of the Actionflow course and using a training instance, this data has already been pre-loaded into the Actionflow Foundation Application. For this example, we'll be creating a new screen and working on buttons on the Course Management screen.
We want to add a confirmation screen that appears when users delete a course on the Course Management screen. In this example we will insert a Confirmation phase into an Actionflow to show a confirmation message before a Delete Action is processed.
Setting up a Confirmation Screen
Click on the
icon in the PhixFlow header bar
Select
on the leftIn the Create Screen window, enter the following details:
Name:
Confirmation ScreenOpen Maximised: toggle off
All users can View Data: toggle on
Description:
A generic confirmation screenPlease select a Template, choose
ConfirmationClick Create Screen.
The screen will be created and will automatically open
Close the Add Attributes window that opens
Click the Confirm button to open its
, then click on theYou can see here that this button has an Action Method of Other/Default and an Action Type of Confirmation - this is important as it is these settings that allow the Confirm button to trigger the Delete Action phase
No edits are required to this screen
Close the Confirmation Screen
Configuring a Confirmation Actionflow
On the Course Management screen, open the Delete Actionflow by right-clicking on the
button and choosing
Above the Actionflow canvas are the phases, click the
button next to Processing PhaseSelect
Add Phase before and set:Name:
ConfirmationPress Confirm
Select Click to Connect and choose the Input of On Click
Press Connect Input
From the Actionflow toolbar, click
to open the list of available screens in your applicationDrag the Confirmation Screen you made earlier onto the Actionflow canvas
Drag the
icon from Connections onto the Open Confirmation Screen action node to connect themFrom the toolbar, drag a
action node onto the canvas and in the popup select the phase, Processing Phase, to run after the confirmation has been completedHover your mouse pointer over the
Open Confirmation Screen action node, click , then connect theaction node to the Processingaction node
CheckpointClose the Actionflow to return to the Course Management screen
- the screen, select a record and press the
button
We can see that the Actionflow is working because when you press Confirm on the Confirmation Screen, the selected record is deleted