core-jvm
core2-jvm (latest)core-jvm
  • Home
  • Features
  • Examples
  • Spec
  • Guides
  • Sandbox
  • Step Studio
  • Step
    • Action
    • Behavior
    • External
    • Help
    • Link Handler
    • Navigation
    • Persist Async
    • Polling
    • Refresh On Change
    • Step Error
    • Summary
    • Upload
    • Validate Async
    • Schema
    • All Of Schema
    • Array Schema
    • Blob Schema
    • Boolean Schema
    • Const Schema
    • Integer Schema
    • Number Schema
    • Object Schema
    • One Of Schema
    • String Schema
    • Layout
    • Alert Layout
    • Box Layout
    • Button Layout
    • Columns Layout
    • Decision Layout
    • Form Layout
    • Heading Layout
    • Image Layout
    • Instructions Layout
    • List Layout
    • Loading Indicator Layout
    • Markdown Layout
    • Modal Layout
    • Paragraph Layout
    • Review Layout
    • Search Layout
    • Status List Layout
    • Action Response Body
    • Error Response Body
    • Flow Response
    • Search Response Body
    • Search Result
    • Align
    • Autocapitalization Type
    • Autocomplete Token
    • Context
    • Icon
    • Image
    • Size
These docs refer to the older 1.x release of Dynamic Flow.
Go to the latest docs

Flow Response

Android - 8.25.0 iOS - 11539 Web - 2.5.0

There are a number of different responses which can progress a flow. All require a 2xx response code, and they are differentiated by the X-Df-Response-Type header, as described by the following table:

Response Type Header ValueResponse Type
stepStep
actionAction Response Body
exitExit Response, see below.

If no header is provided, the response is assumed to be a Step.

Exit Response

A response is determined to be an Exit when the status code is in the 200-299 range, and either the exit property in the triggering action was set to true, or the response includes the X-DF-Response-Type: exit header.

On receiving an exit response, the client will merge the action.result into the response body, and exit the flow with the merged value as the result.

Note that when the triggering action has exit: true, the X-DF-Response-Type header is ignored.

Related Types

Type

Values

ValueDescription
Action
Exit
Step