Create Your Own Flow
Intermediate
1 hr.
Learn how to create your own flow with the framework provided by the Flows component of SAP BTP SDK for Android.
You will learn
- How to write a flow step
- How to write your own flow
Prerequisites
- You have Set Up a BTP Account for Tutorials. Follow the instructions to get an account, and then to set up entitlements and service instances for the following BTP services.
- SAP Mobile Services
- You completed Get Familiar with the Flows Component by a Wizard Generated Application.
- You completed Customize the Onboarding Flow.
- You completed Handle Passcode with the Flows Component.
- You completed Restore and Reset Applications Using the Flows Component.
Besides the pre-defined flows described in the previous tutorials, the Flows Component also provides a framework for client code to create its own flow. Typically a flow consists of several flow steps and also may include other flows as sub-flows. The Flows framework provides flexible ways for client code to create a customized flow:
- The client code can create its own flow steps and then create a flow with the combination of the steps.
- The client code can create a flow which only includes the pre-defined flow steps or pre-defined flows as sub-flows without defining its own flow steps.
- The client code can combine its own flow steps, pre-defined flow steps, its own flows and the pre-defined flows to create a customized flow.