Skip to content

Commit 8852317

Browse files
authored
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
1 parent ecbecb9 commit 8852317

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

guides/status-flows.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ annotate TravelService.Travels with @flow.status: Status actions {
5050

5151
:::
5252

53-
In essecnce we model status flows using three annotations:
53+
In essence we model status flows using three annotations:
5454

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.
5656
- `@from` and `@to` define valid entry states and target states for **transitions**,
5757
which are implemented by **bound** actions.
5858

@@ -174,7 +174,7 @@ If validation fails, the request returns a `409 Conflict` HTTP status code with
174174

175175
### To Fiori UIs
176176

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.
178178

179179
UI annotations to enable/disable respective buttons and to refresh displayed data are automatically generated for UI5 as shown below:
180180

@@ -206,15 +206,15 @@ UI annotations to enable/disable respective buttons and to refresh displayed dat
206206

207207
While many use cases are covered by the generic handlers, you can add custom handlers for the actions, as usual. For example:
208208

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.
211211

212212

213213

214214
## Current Limitations
215215

216216
Following are are some current limitations of status-transition flows, which we plan to address in future releases:
217217

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.
219219

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

Comments
 (0)