Skip to content

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 ​

NameTypeRequiredDefaultDescription
themeOverrideObjectnullA partial ThemeObject keyed by component name, merged over this component's theme and provided to descendants.
appstringyesDjango app label that owns the model.
modelstringyesDjango model name the transition belongs to.
pkstring|number|arrayundefinedPrimary key(s) of the object(s) to transition; pass an array for a bulk transition.
actionstringyesTransition code to execute, passed through verbatim from the route.
titlestringundefinedPage 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 ​

NameDescription
label

Source ​

client/lib/views/ViewExecuteTransition.vue