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
### summary
makes use of new status-transition flows feature of cds-services^4.5 and
cds^9.5:
- check entry state(s) for action → previously unchecked → TODO: true?
- set to exit state for action → remove custom handlers
- automatically add ui artifacts → remove unnecessary annotations
### `CDS_ENV=flow mvn cds:watch`
extends to a more complex flow incl. usage of `@to: $flow.previous`.
for that, status `InReview` and `Blocked` as well as actions
`reviewTravel`, `reopenTravel`, `blockTravel`, and `unblockTravel` were
added in order to create a scenario where the previous state of
`Blocked` can be either `Open` or `InReview`.
visualization of the flow:
<img width="913" height="444" alt="image"
src="https://github.com/user-attachments/assets/8dd98cdf-7a01-4e55-85bc-a2a7d69fdd16"
/>
---
### related
- capire/xtravels#12
For more (extensive) examples, have a look at the [readme file in the xmpls folder](./xmpls/readme.md).
120
+
117
121
## License
118
122
119
123
Copyright (c) 2025 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, version 2.0 except as noted otherwise in the [LICENSE](LICENSE) file.
0 commit comments