Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
Confirmation Messages
Confirmation messages can be added to Actionflows, e.g. Save, Delete, etc. by inserting an additional
before the Actionflow processing phase, i.e. where the Save, Delete, etc. action is. Insert excerpt _action_phase _action_phase nopanel true
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. See Creating or Opening a Screen.
- 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
Creating Confirmation Messages
- On the confirmation screen, click on the Confirm button to open its
, then click on theInsert excerpt _property_settings _property_settings nopanel true Insert excerpt _property_tabs _property_tabs name action nopanel true - In the Action Settings, set:
- Action Method: choose
Other
- Action Type: choose
Confirmation
- this setup allows the Confirm button to trigger the next phase in the Actionflow
- Action Method: choose
- 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
button next icon next to the ProcessingInsert excerpt _add_icon _add_icon nopanel true Insert excerpt _action_phase _action_phase nopanel true - Choose 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 screensInsert excerpt _action_screen _action_screen nopanel true - Drag the confirmation screen onto the Actionflow to create an
action nodeInsert excerpt _action_screen _action_screen nopanel true
- Drag the confirmation screen onto the Actionflow to create an
- Drag the
icon from Connections onto the Open Confirmation Screen action node to connect themInsert excerpt _input _input name icon nopanel true - To allow the confirmation screen to trigger the next
phase in the Actionflow, drag aInsert excerpt _action_phase _action_phase nopanel true
action node from the toolbar onto the canvas and in the popup select the ProcessingInsert excerpt _action_phase _action_phase nopanel true Insert excerpt _action_phase _action_phase nopanel true - Hover over the
action node and click , then click theInsert excerpt _action_screen _action_screen nopanel true
action node to connect them.Insert excerpt _action_phase _action_phase nopanel true
HTML Comment | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
|
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
Tip |
---|
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.
Excerpt | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Setting up a Confirmation Screen
Configuring a Confirmation Actionflow
|