<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
An Example Sharing Data Between Flows Using a Table in Workflows
Workflows
Okta Classic Engine
Okta Identity Engine

Overview

Using a table in Okta Workflows, this article will show how to share data between flows.

Solution

The table to share data has two columns:

  • Employees (Number)
  • Greeting (Text)


Workflows table.

There are two flows. One flow creates (saves) data into a table, and another reads data from a table.

 


A flow to save data into a table.

The flow above saves a random number between 0 and 1000 for Employees and a text message for Greeting into a table.

 

The flow also clears the table before each run.

 

The second flow reads data from a table.

 


A flow to read data from a table.

 

In Options, this flow is set to retrieve the First matching row:

 


Table search options.

Note: This solution assumes the data will be stored in a single table row.

 

Running the Flow

The following screenshots show running two flows and the table.

 


Saving data into a table.

 


Data in a table.

 


Reading data from a table.

 

Using Row ID Instead of Searching

Manually create a table row with empty columns. Use its row ID to save data (Table – Update Row card) and read data (Table – Read Row card) from a table.

 


Save data into a table using row ID.

 


Read data from a table using row ID.

 

Get the Flows

Download the flows.

 

Related References

 

 

Recommended content

Loading
An Example Sharing Data Between Flows Using a Table in Workflows