uc-apx create process close-dialog
Splice a process ... type: closeDialog into a page. Used on modal
dialog pages to close the dialog after server-side processing. The
process runs implicitly at afterSubmit; no execution.point is emitted.
uc-apx create process close-dialog [flags]| Flag | Type | Default | Description |
|---|---|---|---|
--dry-run | Print rendered process to stdout without writing | ||
--id | string | Override the construct id (default: kebab-case of —name) | |
--name | string | Display name of the process [required] | |
--page | string | Target page (numeric ID, alias, or name) [required] | |
--sequence | int | execution.sequence (default: max existing process sequence on page + 10) | |
--server-side-condition | string | Free-form serverSideCondition; mutually exclusive with —when-button-pressed | |
--show-success-messages | false | Emit showSuccessMessages: true in the settings block | |
--when-button-pressed | string | Shortcut: gate on this button ID (sets serverSideCondition.whenButtonPressed) |
Global Flags
Section titled “Global Flags”| Flag | Type | Default | Description |
|---|---|---|---|
--app-dir | string | . | Path to the APEX application directory |
--json-pretty | Output in pretty-printed JSON (human-readable) instead of minified JSON | ||
--toon | Output in TOON format (human-readable, token-efficient) instead of JSON |
Examples (from help)
Section titled “Examples (from help)”uc-apx create process close-dialog \ --page 50 \ --name "Close Dialog" \ --when-button-pressed saveExample Generated APEXlang
Section titled “Example Generated APEXlang”Using --dry-run to preview the generated construct (no files are written):
uc-apx --app-dir examples/brookstrut create process close-dialog --page 46 --name Close Dialog --dry-runGenerated APEXlang
process close-dialog ( name: Close Dialog type: closeDialog settings { showSuccessMessages: false } execution { sequence: 20 } )