NC Timer
Not yet released: this component will ship in an upcoming Native Rent package version.
NC Timer moves the flow on after a delay. Use it for a confirmation or "thank you" screen that should continue by itself, or (with Layout hidden, or the Silent timer style) for a delay with nothing visible on the screen.
Add it to a screen
- Open the flow in Flow Builder and add or open a Screen element.
- Add NC Timer. The setup panel opens.
- In Basic, choose a Style if you want one: Countdown, Silent timer, or Progress bar. A style fills only the settings you leave blank. Leave Style blank, or choose Custom, to keep the original defaults.
- Set Seconds (1 to 3,600, default 10). Set Then (After the Timer) to what should happen when the countdown ends:
next,back,finish,pause, ornone. Optionally set Message. In the message,{0}is replaced with the seconds left. In the compact and large layouts, leave{0}out, because the ring shows the seconds. - A live preview shows the timer with your settings. The preview never moves the flow on.
- Open Advanced for pause, stop, continue, announcements, look, and outputs.
- If the screen should have no footer buttons, turn off the footer's Previous, Next, Finish, and Pause buttons in the Screen properties, and use the timer (and, if you want, Continue now) to move on.
- Map Completed if you turn off Run Every Visit, so the timer runs only the first time the screen is shown. Map Stopped by User if you need to know that the user pressed Stop timer. Map Timer Fired if you need to know that the countdown ran out and the Then (After the Timer) action ran. Timer Fired is true only in that case. It is false if the user pressed Stop timer, pressed Continue now, or moved on before the countdown ended.
Properties
| Property | API name | Default | Description |
|---|---|---|---|
| Style | stylePreset | Optional. A style fills only the settings you leave blank. You can still change each one under Advanced. Leave it blank, or choose Custom, to keep the original defaults.countdown (Countdown): Layout large, with Pause, Stop timer, and Continue now.silent (Silent timer): Layout hidden, with no buttons.progress (Progress bar): Layout bar, with Pause and Stop timer, and no Continue now.All three turn on Announce to Screen Readers. | |
| Seconds | seconds | 10 | Delay in seconds, from 1 to 3,600. In Flow Builder, a value outside this range shows "Enter 1 to 3600 seconds." under Seconds, and Done is blocked. |
| After the Timer | afterAction | next | next, back, finish, pause, or none. Next becomes Finish on the last screen. none only sets Completed. In the setup panel, this setting is labeled Then. |
| Run Every Visit | repeat | true | On (default): the timer starts each time the screen is shown, including after Previous. Off: it runs only the first time. When you turn it off, also create a Boolean variable, for example varTimerDone, set Completed to it, and store Completed in the same variable. Use case: a welcome screen that moves on by itself the first time, but not when the user comes back to it. |
| Layout | layout | auto | How the timer looks.auto: bar on wide screens, compact on phones and in narrow columns.bar: the message, the buttons, and a thin progress bar.compact: one line with a countdown ring that shows the seconds, a short message, and small buttons.large: a big centered ring with the message and buttons, for a kiosk, check-in, or confirmation screen.hidden: nothing is visible, but the timer still runs and moves the flow on, for example on a "Saving..." screen. |
| Announce to Screen Readers | announce | true | Polite announcements at the start, at 60, 30, 10, and 5 seconds, and at the end. This also applies in the hidden layout. |
| Message | message | Optional text next to the countdown. Put {0} where the seconds go, for example Saving your booking in {0} seconds. In the compact and large layouts the ring already shows the seconds, so leave {0} out, for example Thanks! Starting over shortly. Blank uses the built-in text, for example Continuing in {0} seconds, or Continuing automatically in the ring layouts. | |
| Allow Pause | allowPause | true | Shows Pause and Resume. |
| Allow Stop | allowStop | true | Shows Stop timer. |
| Allow Continue Now | allowContinueNow | false | Shows a Continue now button, so the user can skip the wait. It runs the Then (After the Timer) action at once, for example moves to the next screen. Not shown when After the Timer is none. |
| Accent Color | accentColor | Color for the countdown and focus. NC Timer has no Tile Color, Color Map, or Density property. | |
| Background Color | backgroundColor | Optional color of the timer panel. | |
| Text Color | textColor | Optional. Used only if it reaches 4.5:1 contrast. | |
| Text Size | size | medium | small (87.5%), medium (100%), large (112.5%), or xlarge (125%) of the normal text size. Example: large for a kiosk screen. |
| Corner Shape | shape | rounded | rounded (default), square (slightly rounded corners), or pill (the roundest corners). |
| Alignment | align | start | start, center, or end. Lines up the timer message. In a right-to-left language, start is the right side. |
| Available Actions | availableActions | Set by Flow. Do not map. | |
| Completed | completed | True once the timer ran out, or when the user pressed Continue now. Map it in and out of the same Boolean variable when Run Every Visit is off. | |
| Stopped by User | stoppedByUser | Output: true if the user pressed Stop timer. | |
| Timer Fired | timerFired | Output: true when the countdown ran out and the Then (After the Timer) action ran (also with none and in the hidden layout). False if the user pressed Stop timer, pressed Continue now, or moved on before the countdown ended. |
Note: the output Is Clicked (isClicked) is true once the user presses Pause or Resume, Stop timer, or Continue now on the screen. It stays false when the timer simply runs out. Use it in a Decision after the screen.
Screen footer and hidden timer
Hidden timer mode: set Layout to hidden, or choose the Silent timer style. Nothing is visible, but the timer still runs and navigates. Screen-reader users hear polite announcements at the start, at 60, 30, 10, and 5 seconds, and at the end. Turn Announce to Screen Readers off for full silence. Use this for screens that only show a message, then continue.
Shared behavior
Layout and width, required messages, colors, navigation, data sources, translations, accessibility, and the setup panel work the same way on every component. See NC screen components.
To copy this component's settings to another screen, use Copy settings at the top of its setup panel. See Copy settings.