The operator confirms before the transition fires
Confirm a transition
The operator confirms before the transition fires.
app tickets "Tickets" {}
entity Ticket {
subject: text
workflow {
initial Open
states Open, Resolved
terminal Resolved
resolve: Open -> Resolved
}
}
page ticket "Ticket" detail Ticket {
action "Resolve" event resolve confirm "Resolve this ticket?"
}
A transition the operator fires many times a day, with nothing to undo, can omit confirm.