One use case is with Flowhooks. You may only attach 1 shared flow to a flow hook so a workaround would be creating a single shared flow and attaching nested shared flows.
Example,
- create a shared flow called `SF-pre-proxy-flowhook`
- Add additional shared flows into your new shared flow.
pre-proxy flowhook
> SF-pre-proxy-flowhook
> SF-logging-frontend-policies
> SF-security-frontend-policies
See this question for more info
https://www.googlecloudcommunity.com/gc/Apigee/Flowhooks-can-I-add-only-1-SharedFlow-to-a-flowhook/m...
We use nested shared flows extensively. Nice way to build up a well structured hierarchy of functionality. An example: