Skip to content

useWorkflowTransitions ​

Overview ​

Provides a reactive list of workflow transitions for a given app and model.

Signature ​

useWorkflowTransitions(app, model, isActive)

Parameters ​

NameTypeRequiredDescription
appRefyesA ref containing the app name that is being watched.
modelRefyesA ref containing the model name that is being watched.
isActiveReadonlynoAn IsActive instance, if one can be reused.

Returns ​

An object containing transitions.

Source ​

client/lib/use/useWorkflowTransitions.js:36