uc-apx create process clear-session-state
Splice a process ... type: clearSessionState into a page. Typically
used on form pages to reset session state after a delete operation.
No execution.point is emitted; APEX infers the point from context.
uc-apx create process clear-session-state [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 | |
--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 clear-session-state \ --page 50 \ --name "Reset Page" \ --when-button-pressed deleteExample 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 clear-session-state --page 46 --name Clear State --dry-runGenerated APEXlang
process clear-state ( name: Clear State type: clearSessionState execution { sequence: 20 } )