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
minor fixes to status-flows cookbook topic (#2293)
- changed 'of' to 'for' in the bullet for `@flow.status` to make it
clearer that it is the entity that is flow-controlled, not the element
- made bullet pattern consistent
- made use of feature term (status-transition flows) consistent
- fixed typos
Copy file name to clipboardExpand all lines: guides/status-flows.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,9 +50,9 @@ annotate TravelService.Travels with @flow.status: Status actions {
50
50
51
51
:::
52
52
53
-
In essecnce we model status flows using three annotations:
53
+
In essence we model status flows using three annotations:
54
54
55
-
-`@flow.status` designates the **status** element of an entity to be flow-controlled.
55
+
-`@flow.status` designates the **status** element for an entity to be flow-controlled.
56
56
-`@from` and `@to` define valid entry states and target states for **transitions**,
57
57
which are implemented by **bound** actions.
58
58
@@ -174,7 +174,7 @@ If validation fails, the request returns a `409 Conflict` HTTP status code with
174
174
175
175
### To Fiori UIs
176
176
177
-
When using CAP Fiori elements, status-transition flows are automatically recognized and supported in the generated UIs.
177
+
When using SAP Fiori elements, status-transition flows are automatically recognized and supported in the generated UIs.
178
178
179
179
UI annotations to enable/disable respective buttons and to refresh displayed data are automatically generated for UI5 as shown below:
180
180
@@ -206,15 +206,15 @@ UI annotations to enable/disable respective buttons and to refresh displayed dat
206
206
207
207
While many use cases are covered by the generic handlers, you can add custom handlers for the actions, as usual. For example:
208
208
209
-
-add`before` handlers for additional validations before entering a transition
210
-
-add`after` handlers for conditional target states.
209
+
-Add`before` handlers for additional validations before entering a transition.
210
+
-Add`after` handlers for conditional target states.
211
211
212
212
213
213
214
214
## Current Limitations
215
215
216
216
Following are are some current limitations of status-transition flows, which we plan to address in future releases:
217
217
218
-
1. Status Flows also work with draft-enabled entities, however when in draft state all actions are disabled. Thus, status transitions can only be performed on active entities.
218
+
1. Status-transition flows also work with draft-enabled entities, however when in draft state all actions are disabled. Thus, status transitions can only be performed on active entities.
219
219
220
-
2. CRUD and DRAFT operations can't be restricted by status flows today. Only bound actions can be flow-controlled.
220
+
2. CRUD and DRAFT operations can't be restricted by status-transition flows today. Only bound actions can be flow-controlled.
0 commit comments