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
themeOverrideString|Object|ArraynullA partial theme object merged with the component's default theme; accepts a class string, class array, or theme object.
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; defaults to the transition's display name plus the model name.

Slots

return-button

Scoped slot.

Bindings

NameDescription
label

Source

client/lib/views/ViewExecuteTransition.vue

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2