The feature adds an option to define Flows (statuses and transitions between statuses) directly in the CDS model using annotations. The required handlers are automatically generated and registered based on the declaratively defined annotations. The generated logic can still be overwritten by the application developers, which gives maximum freedom in complex scenarios.
SPEAKER: Simon Engel
We hope you enjoyed exploring how CAP now supports defining Flows (statuses and transitions) directly in CDS models using annotations.
Please find the Devtoberfest validation tutorial for the CAP track, Week 2
Devtoberfest validation tutorial question will be available by EOD after the 3rd CAP Devtoberfest session today.
You can find it here : https://developers.sap.com/tutorials/devtoberfest2025-cap-week2-session-validation.html
Session Slide-deck : https://d.dam.sap.com/a/Haiftpj/Devtoberfest-Flows-Simon-Engel.pdf?rc=10&inline=true&doi=SAP1246003