You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A transit moves a document from one state to another. Typically we want to execute code when that happens. Currently this is done on the back-end system by matching the transition name and executing some code on the basis of that. Which implies hard-coding transition names in code.
This aspect could be factored into configuration - by having a "post-transition-action" property which invokes a specific named API provided in the configuration. e.g.
"postTransitionAction": "customFuncton"
customFunction is an API exported by a recognized module (also named int the configuration
The text was updated successfully, but these errors were encountered:
A transit moves a document from one state to another. Typically we want to execute code when that happens. Currently this is done on the back-end system by matching the transition name and executing some code on the basis of that. Which implies hard-coding transition names in code.
This aspect could be factored into configuration - by having a "post-transition-action" property which invokes a specific named API provided in the configuration. e.g.
customFunction
is an API exported by a recognized module (also named int the configurationThe text was updated successfully, but these errors were encountered: