<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
How to Use Streaming Action Cards in Okta Workflows
Workflows
Overview

When returning records from an API call to the Okta service, the majority of API endpoints are limited to 200 records per page. To return more than 200 records, a flow must either be configured to iterate through additional pages of the API and process those additional outputs or can be configured to Stream the resulting records to a helper flow, with a single record streamed per helper flow invocation. Workflows support Streaming with many third-party services in addition to Okta service.

Applies To
  • Okta Workflows
  • Okta API
  • Larger data sets
Solution

To use streaming, complete the following steps:

  1. Configure a helper flow to process the individual records returned from the API call. In the Helper event card, define an object called Record and an object called State. Both are required for proper functionality.

  1. In the parent flow, select the action card that will be streaming the records, and under the Options dialog Result Set dropdown, select "Stream Records". Records returned by this API call will be available in the helper flow in the Record object.

  1. Click "Choose flow" and select the helper flow configured in Step 1.

  1. If any additional contextual information needs to be passed from the parent flow to the helper flow for processing, define the inputs in the "Click or drop here to create" input. These inputs will be available in the helper flow executions within the State object. (see video for contextual example usage of the State object)

 

For a complete walkthrough and using the data in the Helper flow, please see the video:
 


 

Related References

 
Loading
How to Use Streaming Action Cards in Okta Workflows