• Documentation
  • Ask a Question
  • Zeroplat.io
  • Documentation
  • Ask a Question
  • Zeroplat.io
  • Introduction
    • Welcome to Zeroplat
    • Video Intro
  • Get Started
    • Requirements
    • Installation
  • Management
    • Resources
    • SaaS
      • Multi-tenancy
      • Editions
    • Permissions
    • Organization Units
    • Language
      • Languages
      • Language Texts
    • Roles
    • User
      • Users
      • Invite Users
    • Audit Logs
  • Visual Builder
    • Overview
    • Resources
      • Menu & Navigation
      • Pages
      • Dashboards
      • Components
      • Generate Pages from Datasource
    • Design
      • JS Query
      • Transformer
      • Variable
    • Event Designer
      • Tasks
        • Execute query
        • Start workflow
        • Show page
        • Close Page
        • Set variable
        • Show notification
        • Set components props
      • Switch
        • If
        • Confirm box
        • Confirm popover
    • Data
    • Preview & Publish
    • Components
      • Common Properties
        • Layout
        • Style
        • Actions
        • Validations
        • Tooltip
      • Inputs
        • Button
        • Input
        • InputNumeric
        • ComboBox
        • MulticolumnCombobox
        • Checkbox
        • CheckboxGroup
        • Switch
        • RadioGroup
        • ToggleButtonGroup
        • LocalizedInput
        • Slider
      • Business
        • OrganizationUnitBrowser
        • RoleBrowser
        • UserBrowser
      • Data display
        • DataGrid
      • Editors
        • QuillEditor
      • Feedback
        • Alert
        • Progress
      • File
        • Dropzone
        • FileButton
        • FileInput
      • Layout
        • SplitLayout
      • Navigation
        • TabBar
      • Pickers
        • DatePicker
        • DateTimePicker
        • DateRangePicker
        • DateCalendar
        • TimePicker
        • IconPicker
      • Surfaces
        • Card
      • Charts
        • AreaChart
  • Backend
    • Overview
  • Integrations
    • Overview
    • Environments
    • Database
      • MS SQL
      • SQL Lite
      • My SQL
      • PostgreSQL
    • API
      • Rest API
      • SMTP
      • Google Sheets
      • Twillio SMS
    • Javascript
      • Variable
      • Transformer
      • JS Query
    • Zeroplat Hosted
      • Zeroplat E-mail
  • Workflow (BPM)
    • Overview
    • Building and managing workflows
    • Inbox
    • Outbox
  • Marketplace
    • Overview
    • Management

Confirm box

3 views 0

Written by Zeroplat
17 September 2025

The Confirm box task displays a dialog to the user asking for confirmation before continuing with the workflow. Depending on the user’s response (e.g., Yes or No), the workflow follows the corresponding branch.

Bu task özellikle riskli, geri alınamaz ya da kritik işlemler için idealdir (örneğin: sayfa kapatma, kaydı silme, logout olma vb.).

Purpose

  • Kullanıcıdan doğrudan onay almak.
  • İşlemlerde yanlışlıkla yapılan aksiyonları önlemek.
  • Kullanıcıya seçim hakkı sunmak.
  • Kritik adımlarda güvenlik ve kontrol mekanizması sağlamak.

Anatomy

  1. Step name
    • Task’ın adı (flow içinde görünecek).
    • Örn: Confirm box.
  2. Title
    • Dialog kutusunun başlığı.
    • Örn: Close page.
  3. Message
    • Kullanıcıya gösterilecek asıl açıklama.
    • Örn: Are you sure do you want to close page ?.
  4. Dialog type
    • Dialog stilini belirler (örneğin: Question, Warning, Info, Error).
    • Görsel olarak kullanıcıya bağlama uygun ikon ve vurgu sağlar.
  5. Response style
    • Kullanıcının göreceği buton seti.
    • Seçenekler:
      • YesNo
      • OkCancel
      • Ok
  6. Branches
    • Yes branch → Kullanıcı “Yes” (veya “Ok”) seçtiğinde çalışır.
    • No branch → Kullanıcı “No” (veya “Cancel”) seçtiğinde çalışır.

How It Works

  1. Workflow Confirm box adımına geldiğinde ekranda modal dialog açılır.
  2. Kullanıcı bir seçim yapana kadar akış bekler.
  3. Kullanıcının cevabına göre ilgili branch (Yes / No) çalıştırılır.
  4. İşlem devam eder.

Example 1: Page Close Confirmation

  • Title: Close page
  • Message: Are you sure you want to close page ?
  • Dialog type: Question
  • Response style: YesNo

Yes branch → Close page task
No branch → Do nothing

Example 2: Record Deletion

  • Title: Delete record
  • Message: This action cannot be undone. Do you want to continue?
  • Dialog type: Warning
  • Response style: OkCancel

Ok branch → Execute query → deleteRecord
Cancel branch → Show notification → “Operation cancelled.”

Example 3: Single Action with Ok

  • Title: Session expired
  • Message: Your session has ended. Please login again.
  • Dialog type: Error
  • Response style: Ok

Ok branch → Show page → Login

Best Practices

  • Use clear language → Keep messages short and easy to understand.
  • Match dialog type to context → Use Warning or Error for risky operations, and Info for simple alerts.
  • Always provide a safe option → Give users a way to cancel or back out.
  • Don’t overuse → Too many confirmation dialogs can harm user experience.

FAQ

Q: What happens if the user closes the confirm box (X button)?

  • By default, the No/Cancel branch is executed.

Q: Can I use dynamic values inside the Message field?

  • Yes. Example: Are you sure you want to delete {{ Table1.selectedRow.name }} ?

Q: Does it work the same on mobile devices?

  • Yes, the confirm box is fully responsive and will display correctly on mobile.

👉 In summary: The Confirm box task in Zeroplat is the standard way to request explicit user confirmation for critical actions. Depending on the user’s response, the workflow continues down the corresponding branch, ensuring both safety and flexibility in your applications.

Was this helpful?

Yes  No
Related Articles
  • DateCalendar
  • Progress
  • TimePicker
  • IconPicker
  • DateTimePicker
  • DateRangePicker

Didn't find your answer? Contact Us

Previously
If
Up Next
Confirm popover
Copyright 2025 Zeroplat.io. All Rights Reserved