TransitionDefinition
Describes a directed transition between two states of the same Template.
Remarks
Section titled “Remarks”Executing the transition moves the Item from fromKey to toKey in one statement conditioned on
the current state; an Item that has already left fromKey raises a state transition conflict.
Properties
Section titled “Properties”description
Section titled “description”
readonlydescription:string|undefined
Description set with setDescription, or undefined.
fromKey
Section titled “fromKey”
readonlyfromKey:string
Key of the state the transition leaves.
fromStatePrn
Section titled “fromStatePrn”
readonlyfromStatePrn:string
PRN of the state the transition leaves.
grants
Section titled “grants”
readonlygrants: readonlyGrantDefinition[]
Roles allowed to execute the transition; a principal needs any one of them.
readonlyinput:InputDefinition
Contract for the transition payload, or null when it declares no payload members.
readonlykey:string
Key of the transition, unique within its state.
readonlyprn:string
PRN of the transition, <fromStatePrn>/transition/<key>.
readonlytoKey:string
Key of the state the transition enters.
toStatePrn
Section titled “toStatePrn”
readonlytoStatePrn:string
PRN of the state the transition enters.

