Skip to content

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]
FlagTypeDefaultDescription
--dry-runPrint rendered process to stdout without writing
--idstringOverride the construct id (default: kebab-case of —name)
--namestringDisplay name of the process [required]
--pagestringTarget page (numeric ID, alias, or name) [required]
--sequenceintexecution.sequence (default: max existing process sequence on page + 10)
--server-side-conditionstringFree-form serverSideCondition; mutually exclusive with —when-button-pressed
--show-success-messagesfalseEmit showSuccessMessages: true in the settings block
--when-button-pressedstringShortcut: gate on this button ID (sets serverSideCondition.whenButtonPressed)
FlagTypeDefaultDescription
--app-dirstring.Path to the APEX application directory
--json-prettyOutput in pretty-printed JSON (human-readable) instead of minified JSON
--toonOutput in TOON format (human-readable, token-efficient) instead of JSON
Terminal window
uc-apx create process close-dialog \
--page 50 \
--name "Close Dialog" \
--when-button-pressed save

Using --dry-run to preview the generated construct (no files are written):

Terminal window
uc-apx --app-dir examples/brookstrut create process close-dialog --page 46 --name Close Dialog --dry-run
Generated APEXlang
process close-dialog (
name: Close Dialog
type: closeDialog
settings {
showSuccessMessages: false
}
execution {
sequence: 20
}
)