Skip to Content

Create Your Own Flow

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
FengHaoyueHaoyue FengApril 26, 2024
Created by
sandeep-tds
January 9, 2023
Contributors
sandeep-tds

Prerequisites

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.
  • Step 1
  • Step 2

    Your own flow class must extend the com.sap.cloud.mobile.flowv2.core.Flow class, and override some of the methods defined in it.

    Congratulations! You now have learned how to create your own flow using the Flows component!

    Which of the following statements are correct?

Back to top