Input Dialog
Input Dialog
Section titled “Input Dialog”Type: input-dialog · Package: UI Activities v1.0.0 · Output: string
Displays a dialog with a text field and returns the value entered by the user. It is used to request data at the beginning or in the middle of an assisted automation: a document number, a date, a route.
How it works
Section titled “How it works”Displays the text prompt over an input field (with an optional initial value, default) and waits. Returns what the user typed.
Required parameters
Section titled “Required parameters”| Parameter | Editor | Description |
|---|---|---|
prompt | expression | Label text on the field. |
Optional parameters
Section titled “Optional parameters”| Parameter | Editor | Description |
|---|---|---|
title | text | Window title. By default "Zoan Automation". |
default | expression | Initial value prefilled into the field. By default, empty. |
Output
Section titled “Output”Returns a string with the text the user entered.
Example
Section titled “Example”Input Dialog prompt = "Ingrese el NIT del cliente:" → output: nitDB Query sql = "SELECT * FROM Clientes WHERE Nit = @n" params = { "n": = nit } → output: clienteRelated activities
Section titled “Related activities”- Message Box — display a message or ask for confirmation.