Prompts
A lot of interaction in the app is done using CE prompts. These prompts are used to colect input from the user and are usualy triggered by a command from the menu palette.
Checkout App supports the following prompt types:
-
Prompt with choice list
-
Prompt with alpha-numeric input
-
Prompt with numeric input
-
Prompt with monetary input
-
Confirmation prompt
-
Confirmation or cancellation prompt
-
Multi-input prompt
SCO Whitelisted Prompts
The sco.prompt.whitelistedPrompts configuration controls which prompts are displayed directly to the customer on a Self-Checkout (SCO) device versus which prompts require assistant intervention.
- When a prompt is whitelisted (
true), it is displayed on the SCO screen for the customer to respond to directly. - When a prompt is not whitelisted (
false), it is routed to the attendant/assistant instead.
By default, SCO uses a built-in list of legacy prompt defaults that skips attendant for all customers, regardless if that prompt code is whitelisted as true or false in the above CCC configuration. Electronic Gift Card payment prompts are a good example of built-in SCO defaults that remain whitelisted unless the override feature flag is on and CCC explicitly changes them.
When the release.sco-prompts-ccc-whitelist-override feature flag is enabled:
- if a prompt code exists in
sco.prompt.whitelistedPrompts, that configuration overrides the built-in default - if a prompt code is not present in
sco.prompt.whitelistedPrompts, SCO falls back to the built-in legacy default
Example
[
{ "id": "example.prompt.code.1", "whitelisted": true },
{ "id": "example.prompt.code.2", "whitelisted": false }
]
For configuration details, see Prompt configuration.