Scenario builder¶
In this section you create scenarios for the possible risks.
A scenario can contain one or more sub-scenarios, and eventually results in a push button.
The different parts of the scenario builder are described below.
Layout¶
The scenario builder has two parts: on the left the tree with all scenarios, on the right the details of the selected scenario.

Configuration problems¶
At the top of the scenario builder a bar appears when the configuration needs attention. The bar shows the number of problems and a label for each kind of problem:
- No phone provider: no provider is set up to make phone calls.
- No NESTA scenario: there is no scenario yet for which NESTA is activated (see NESTA).
- Scenarios without functions: these scenarios notify nobody when they are started. Add functions in the tab Notify.
- Contacts with a channel EmCaS cannot send on: these contacts have a channel switched on that EmCaS does not use. They are never reached through it.
- Status menus that need attention: a status menu is for example missing an option of type OK, uses a key twice, or has no spoken text in a language.

Red labels are errors, orange labels are warnings. Click Show details to see which scenarios or keys each problem concerns. The cross closes the bar.

Tree¶
The tree shows all scenarios in their hierarchy. The Start screen is always at the top.

- The arrow in front of a scenario expands or collapses the scenarios below it.
- The number behind a scenario is the number of scenarios directly below it.
- Click a scenario to open its details on the right.
- The icon has the colour of the scenario (see Layout). An extra icon marks special settings:
- an orange megaphone: the scenario is only available on escalation (see Escalation);
- an orange padlock: the scenario is only available for certain roles (see Access).
- A red exclamation mark means the scenario notifies nobody. An orange triangle means the status menu of the scenario needs attention.
- A pencil means the scenario has changes that are not saved yet.
Search¶
Use the search bar at the top to find scenarios by name or code. The text found is highlighted in the tree.
Add a scenario¶
Click + Scenario next to the search bar and choose:
- New main scenario: a new scenario at the highest level, directly below the start screen.
- Subscenario of the current selection: a new scenario below the scenario that is selected now.

Hide the tree¶
The double arrow («) to the right of + Scenario hides the tree. The details then get more room, which is useful for wide tabs such as Mail. In the narrow bar that remains, you show the scenarios again or search for a scenario straight away. You can also use the breadcrumb at the top of the details to go to a parent scenario.
Details¶
On the right you see the details of the selected scenario. At the top are the breadcrumb (where the scenario sits in the tree), the name of the scenario and labels such as Escalate only or Certain roles only.
Tabs¶
The settings are spread over tabs, grouped by subject:
| Group | Tabs |
|---|---|
| Basics | General, Layout, Access |
| Alerting | Notify, Escalation, Mail |
| Incident info | Location, Products, Files, Forms |
| Integrations | NESTA, Veiligheidscluster |
Which tabs you see depends on the kind of scenario and on the modules that are activated. A number next to a tab shows how many items are set, for example the number of functions and contact rules in Notify or the number of products in Products.

The double arrow at the top of the tabs hides their names, so only the icons remain. On a narrow screen this happens automatically.
![]()
Actions¶
The Actions button at the top right offers:
- Add subscenario: adds a new scenario below the selected scenario.
- Clone scenario: makes a copy of the selected scenario. You give the copy a name and choose the scenario it goes under.

Save and delete¶
At the bottom of the details you always find these buttons:
- Save: saves all changes in all tabs. As long as a field is invalid (for example an empty remark), this button is disabled.
- Delete: deletes the selected scenario, after confirmation.
As long as there are changes that are not saved yet, you see Unsaved changes next to Save. The tab with the change and the scenario in the tree are marked as well.

If you select another scenario while there are still changes, the scenario builder asks what to do. You see in which tabs there are changes and choose:
- Cancel: you stay in the current scenario.
- Don't save: the changes are lost and the other scenario opens.
- Save and open: the changes are saved and the other scenario opens.

Start screen¶
The Start screen is the highest level of the tree. Here you decide what the first screen with push buttons looks like during an alert. Click Start screen at the top of the tree to open it.
The start screen has a limited set of tabs: Layout, Notify, Mail, Location, Products and Files. Settings you make here, such as functions in the tab Notify or an own mail template, are inherited by the scenarios below.

Scenario¶
All tabs of a scenario are described below.
General¶
In the tab General you set the basic data and the message of the scenario.

- Name: the name of the scenario, as it appears on the push button. With the language choice (e.g. EN) you fill in the name for each language.
- Description: a short description of the scenario, also per language.
- Casualties: whether casualties can be registered for this scenario.
- Link scenario: see below.
- Code: a short code for the scenario. You can also search for this code in the tree.
- Button selection: which data is shown on the push button when a scenario is chosen: the Description, the Code and/or the Info (see Info).
- Automatic close: see below.
Link scenario¶
When you switch on Link scenario, the push button points to another page instead of starting an incident. You then choose one of these options:
- Fireplug page: a page within Fireplug, such as Test, Nesta or Mutual help.
- External reference: an external web page (URL). To use it, choose None as Fireplug page.

Linked scenario
A linked scenario only has the tabs General and Layout. The message settings and the other tabs disappear, because no incident is started.
Automatic close¶
With automatic close you fill in a number of hours (Automatic close after X hours, from 1 to 24) after which the incident is closed. This is useful for an informative message to a few contacts that needs no follow-up. No messages are sent when the incident is closed this way. This feature uses the function Silent close.

Message settings¶
The message is the base for the spoken and written message in e-mail, SMS and phone calls. It is converted automatically to the right format for each channel.

- Speak intro / Speak outro: reads out the standard introduction and closing in a phone call.
- Message: the text of the message, per language. You can format the text with SSML (e.g.
<break time="200ms"/>for a short pause). The info icon next to SSML formatting sheet shows the options. The play button lets you listen to the message as it will be read out. - Message override: when this is checked, all previous messages (of parent scenarios) are overwritten by this message.
- Pager message: a separate text for pagers, per language.
- SMS message: when filled in, this text is sent by SMS instead of the message above. Type
%%to insert a placeholder from the forms. - Speak weather: reads out the wind direction and speed, so the alerted people can come in accordingly.
- Remarks (Selectable): with Add remarks you add preset remarks that can be selected when the scenario is started. The trash can removes a remark.
Info¶
Under Info you add extra information that is shown with the scenario (see also Button selection). Click Add info to add a new line. Each line has an order number, a title and a value.

When a container is chosen in the tab Products, the information of that container (pressure, temperature, volume and container type) appears automatically in a grey block Product container info. You change this data on the product itself.

Layout¶
In the tab Layout you decide what the scenario and the scenarios below it look like in the button screen.
- Order: the position of the scenario relative to the other scenarios on the same level.
- Color: the colour of the push button and of the icon in the tree.

If the scenario has scenarios below it, you can also design the button screen itself:

- Scenario overview background: an image used as the background of the button screen. With the buttons below the image you select an image, clear it, rotate it left or right, make it greyscale, enhance it or blur it.
- Position children: drag the push buttons of the scenarios below to the right place on the background and change their size.
- Settings:
- Columns and Rows: the number of columns and rows of the grid on which the buttons are placed.
- Grid lines: when the grid lines are shown: Always, On drag and resize or None.
- Transparency: makes the push buttons transparent, so the background stays visible.
Access¶
Here you manage which users can start the scenario. This tab is only available when role-based access is activated.
Role-based access¶
You choose one or more roles that have access to this scenario. Every other user does not see this scenario when alerting and escalating. The scenario gets the label Certain roles only and a padlock in the tree. Note: a user might not be able to click through to an alert scenario because of this! These users then see a message that they have to go back in the button screen.
Notify¶
In the tab Notify you decide who is notified when the scenario is started, through which channels, and how the contacts can answer a phone call. The tab has three parts: the functions, the status menu and the contact rules.

This tab is available on the Start screen as well as on every scenario. Functions and contact rules you add on a higher level are inherited by the scenarios below.
Scenario without functions
If a scenario notifies nobody, the message This scenario calls no functions. Add a function on the tab Notify. appears at the top of the details.
Functions¶
Functions link a scenario to the contacts that have to be notified. You manage the functions themselves in Settings › Functions.

Add function
Click Add function to open a window with all available functions. The column Type shows whether the contacts of the function are linked through a planning (Planning) or directly (Fixed). Check one or more functions and click Add.

Notify via
For each function you choose the channels through which the contacts are notified: Phone, SMS, Mail, Push and Pager. The column Summary shows the result of your choice, for example All channels.
- When all channels are checked, the contact is notified through every channel that is active for that contact.
- A channel with a padlock (🔒) cannot be switched off. This is the case for the phone on a function where confirming and calling the next in line is done by phone.
Own and inherited functions
The legend below the table shows the difference between the two kinds of functions:
- Chosen in this scenario (dark check mark): functions you added in this scenario. The trash can removes the function from the scenario.
- From the parent scenario (light check mark): functions inherited from a parent scenario or from the start screen. These functions get the label Inherited.
You can also change the channels of an inherited function for this scenario. The function then gets the label Adjusted and the check marks turn dark. With Restore the function goes back to the channels of the parent scenario.

If you do not want to notify an inherited function in this scenario, click Exclude from call flow. The function gets the label Excluded and the summary shows Not notified. Add to call flow undoes this.
Status menu¶
The status menu sets the answers a contact can give at the end of every phone call ("press 1 for ..."). The contact answers with one key. If the contact presses a key that is not on the menu, the question is repeated twice more. After that the call ends without an answer.
By default a scenario uses the menu of the account. You set that menu in Settings › Call status. If a parent scenario has its own menu, this scenario inherits that menu, and you see which scenario it comes from.

If you want other answers for this scenario, there are two options:
- Set up an own menu: you start with an empty menu and add the options yourself.
- Start from the menu of the account (or Start from the inherited menu): the existing menu is copied as a starting point. You can then change the options.

Each option on the menu has these fields:
- Key: the key (0-9,
*or#) the contact presses to choose this option. Each key can be used only once. - Name: the name of the option, as shown in the status messages.
- Type: how the answer is interpreted:
- OK: a positive confirmation. Every menu needs at least one option of this type.
- Not OK: a negative confirmation.
- Repeat: no final status, the message is read out again.
- Spoken (nl / fr / en): the text read out in the phone call, per language. Without spoken text, the name is read out.
Add option adds an extra option. Use the menu of the account removes the own menu, and the scenario goes back to the menu of the account.
Status menus that need attention
A warning appears at the top of the scenario builder when a status menu has a problem, for example keys without spoken text in a language. Add the spoken text so the contact hears a clear question in their own language.
Contact rules¶
Contact rules notify everyone on duty for a combination of functions, on top of the functions above. Who matches a contact rule is resolved when an incident is started.

The table Contact rules shows the name, the expression and the channels of each rule. The pencil edits a rule, the trash can removes it. Contact rules from a parent scenario get the label Inherited. You change their channels in the parent scenario, but you can exclude them from the call flow in this scenario.
Click Add contact rule to open the wizard. It has three steps.
Step 1: Name
Give the rule a name and choose the channels through which the contacts of this rule are notified. When all channels are checked, every active channel of the contact is used.

Step 2: Conditions
Here you build which contacts fall under the rule.
- At the top, choose how the conditions are combined:
- All conditions (AND): the contact has to meet all conditions.
- Any condition (OR): the contact has to meet at least one condition.
- + Group: adds a condition based on one function.
- + Group name match: adds a condition based on the name of functions. You choose whether the name contains the text, starts with it, ends with it or matches a regular expression.
- + Sub-group: adds a nested group with its own AND/OR combination. This lets you build more complex rules.
- Is / Not: Not inverts a condition, so contacts that meet it are excluded.
- The trash can removes a condition.
At least one positive condition
Every group needs at least one condition that is not inverted with Not.
In the example below, all contacts are notified that are on duty for the function Interne interventieploeg or for a function whose name contains Spoed.

Step 3: Preview
Click Preview to see which contacts are on duty right now and match the rule. For each contact you see the functions of the contact, the functions the rule matched by, and whether the contact is active. This is only a snapshot: the actual recipients are resolved when an incident is started.

Click Save to add the contact rule. The rule then appears in the table Contact rules.
Escalation¶
In the tab Escalation you decide how an active incident can escalate to another scenario.
Escalation-only scenario¶
Switch on Shown only on escalation for scenarios that are only used to escalate a running incident. This scenario is then not available in the default scenario selection. In the details the scenario gets the label Escalate only, in the tree an orange megaphone.
An escalation scenario also has the option Repeat previous message.

Note: when you only put one or more scenarios with this setting below a scenario, that scenario is seen as the end point for starting an incident. Set the current scenario as entrypoint under Escalation to see the subscenarios as escalation options.
Escalation entrypoint¶
Under Escalation entrypoint you choose in the tree the scenario that is the starting point for the escalation. When an incident for this scenario is active, the user can escalate to the scenarios below that starting point.

Once an entrypoint is chosen, it is shown as a label.

Example
Under Emergency plan (HEP) is the scenario Escalation with the scenarios PHASE 2 and PHASE 3 below it. Escalation is set to Shown only on escalation. The scenario Fire in the building has Escalation as its entrypoint. During an incident Fire in the building the user can then escalate to PHASE 2 or PHASE 3.
Mail¶
In the tab Mail you decide what the e-mail that the contacts receive looks like. This tab is available on the start screen and on every scenario that has been saved.

In the block Message at the top you choose:
- Template:
- Use the account template: the mail follows the template of the account, which you set in Settings › Mail templates.
- Own template: a template for this scenario and for the scenarios below it that have no template of their own.
- Type: which mail you view or change: Start / escalation (also used for an escalation and an extra call) or Closed (when the incident is closed).
- Language: the language of the mail (NL, FR or EN). Each contact receives the mail in their own language.
- Subject: the subject of the mail (own template only). If you leave it empty, the standard subject is used. With Insert field you insert data of the incident, such as the name of the scenario.
Sections¶
With an own template you compose under Sections which blocks the mail contains and in which order. On the right you immediately see a Preview of the mail with the data of this scenario, as Desktop or as Mobile.

- The switch turns a section on or off.
- Drag a section by its handle (⋮⋮) to change the order.
- The pencil changes the settings of a section, for example the zoom level of the map or the label of the button.
Available sections include: Scenarios (scenario and escalation cards), Details (time, started by and remarks), Spoken message, Information, Form values, Map, Entry point (entry point and address), Weather, Attachments, Products, Signage remarks, Contacts (who was called) and Button ("Open in Fireplug"). The mail at closing can also show Closed at.
+ Add section adds extra blocks:
- Text block: your own formatted text. With Insert field you insert data of the incident in the text.
- Divider: a horizontal line.


Saved with the scenario
The mail is saved together with the scenario, with the Save button at the bottom. If you choose Use the account template again, the own template is removed when you save.
Location¶
In the tab Location you mark on the map where the risk of this scenario is.

With the toolbar on the left of the map you can draw:
- a line, a polygon, a rectangle or a circle;
- a marker or a circle marker;
- Edit layers changes drawn elements, Delete layers removes them.
The button at the top right chooses another background map.
Custom entrypoint selection¶
Switch on Custom entrypoint selection to decide for this scenario through which entrance the emergency services best enter the site. Under Entrypoint choice strategy you choose how the system sorts and picks the entrances.

Distance strategy
- Closest to incident first: the entrance closest to the incident is proposed first.
- Furthest from incident first: the entrance furthest from the incident is proposed first.
- Fixed entrypoint: the same entrance is always used. Choose it under Default entrypoint. This overrides the distance and wind angle strategies.
- No entrypoint: no entrance is proposed.
Dangerous entrances are always sorted furthest first.
Wind angle strategy
- Upwind of the incident: takes the wind direction into account. Entrances downwind of the incident turn red and get a warning. They can still be chosen as entrypoint.
- Not relevant: the wind direction plays no role in choosing the entrance.
Dispersion clouds¶
When the dispersion cloud module is active, you can upload one or more impact zones per scenario. Click Add dispersion cloud, give the cloud a meaningful name and upload a KML file with the geometry of the impact zone. Default marks the cloud that is shown by default. An uploaded cloud can be downloaded or deleted.
Products¶
In the tab Products you link the hazardous substances involved in this scenario. You manage the products themselves in Products. This tab is only available when products are activated.

- Add GSSP: adds the hazardous substances situation plan (GSSP) to the scenario. More info in the GSSP extension.
- Choose container: choose the storage (the container) that holds the product. The data of that container then appears in the tab General under Info.
- Add product: choose a product in the list and click + Product.
- The table shows the Name, the UN number and the CAS number of each product. The column Inherited shows whether the product comes from a parent scenario.
- The menu (⋮) in front of a product offers Delete to unlink the product.
Product sheet
When an SDS is linked to a product, this sheet is available in every scenario the product is linked to. The SDS is also sent automatically by e-mail to the contacts of the scenario.
Files¶
In the tab Files you add documents and links to the scenario, for example an action card or a plan of the installation.

- Add file: uploads a file (e.g. a PDF or an image). The type is shown as asset.
- Add link: adds a new line where you fill in a Name and a web address. Choose
https://orhttp://in front. The type is shown as Link. - The buttons below a file select another file or clear the field.
- The trash can removes the file or the link from the scenario.
Forms¶
In the tab Forms you link forms to the scenario. With a form, the user asks for extra data when starting an incident, which can be included in the message.

The table shows all available forms with their Amount of fields. For each form you set:
- Assign to this scenario: links the form to this scenario.
- In an extra pop-up: shows the form in a separate pop-up.
- After/before message: whether the data of the form is included before or after the message.
- Speak form name: reads out the name of the form in the phone call.
You can also use the filled in values in the SMS message with the placeholder %%, and in the mail with the section Form values (see Mail).
NESTA¶
In the tab NESTA you decide how this scenario works with NESTA.

- Activate NESTA details: activates NESTA for this scenario.
- Mandatory NESTA popup: shows a pop-up that forces the user to send a NESTA message.
When NESTA is activated, the part Location appears as well. Here you upload an image (e.g. a plan) on which you can mark the location of the incident for the NESTA message.
Veiligheidscluster¶
The tab Veiligheidscluster is only available when the safety cluster module is activated. Here you set the impact the scenario has for the other companies in the cluster.