ViewExecuteTransition
Overview
Framework confirmation view for a workflow transition code that has no project-supplied override. Renders a page title with a "Go Back" button and embeds a ModelActionForm, whose submit runs through storeWorkflow.executeTransition instead of the generic model-action endpoint. ViewActionRouter resolves this as the final fallback for a recognized transition code, after any ViewAction{App}{Model}{Code}.vue or ViewAction{Code}.vue project override.
A transition confirmation submits no form values: run-action forwards only the dry-run and warning-acknowledgement arguments to storeWorkflow.executeTransition. A project supplying fields through the extra-fields slot renders and validates them, but their values never reach the request; forward them through a project-supplied override instead.
Theme entry: ViewExecuteTransition
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| themeOverride | Object | null | A partial ThemeObject keyed by component name, merged over this component's theme and provided to descendants. | |
| app | string | yes | Django app label that owns the model. | |
| model | string | yes | Django model name the transition belongs to. | |
| pk | string|number|array | undefined | Primary key(s) of the object(s) to transition; pass an array for a bulk transition. | |
| action | string | yes | Transition code to execute, passed through verbatim from the route. | |
| title | string | undefined | Page title override. The default title is the transition's display name as written, followed by the model's verbose name. Until the workflow metadata supplies the display name, the default uses the start-cased transition code. When pk lists more than one object, the default uses the verbose plural name. The default is empty until the verbose name is known, so the layout shows a skeleton. |
Slots
return-button
Scoped slot.
Bindings
| Name | Description |
|---|---|
Source
client/lib/views/ViewExecuteTransition.vue