Software Development

Workflows Tips #23: Run a Flow Once, Pass Data to a Helper Flow for Streaming, and Build First Workflow Online Meetup

Welcome to another Okta Workflows Tips post. Read all previous tips.

In this post:

  • Run a flow once
  • How to pass data to a helper flow for streaming
  • Online Meetup: Build Your First No-Code Workflow Automation in 25 Minutes

Run a flow once

If you need to run a flow only once, it’s perfectly fine to use the Test button inside the flow designer. You can also use the Test button to run the flow manually.

Running a flow only once

How to pass data to a helper flow for streaming

When setting up a helper flow to process streaming data, the helper flow input requires the following two inputs to work properly:

  • Record (type: Object)
    • Current object (record) being passed to the helper flow for processing. Access any object (JSON) properties from the Record by creating keys (example First Name)
  • State (type: Object)
    • Any additional information to be passed to the helper flow

This main flow streams all users to a helper flow called Process user. In addition to the user object, a Greeting field of hello is passed to the helper flow.

Streaming users to a helper flow

and this is how the helper flow looks:

Processing each user (Record)

Online Meetup: Build Your First No-Code Workflow Automation in 25 Minutes

Join this no-slides online meetup on Wednesday, Jun 22 at 9 AM PT to learn how to build your first no-code workflow automation with Okta Workflows in 25 minutes.

You will learn step-by-step how to build your first no-code workflow automation and also: 

  • Building a flow with the basic building blocks (events, schedule, actions, functions, and connectors)
  • Creating logic with if-then, loops and helper flows
  • Testing and running a flow

Published on Java Code Geeks with permission by Max Katz , partner at our JCG program. See the original article here: Workflows Tips #23: Run a Flow Once, Pass Data to a Helper Flow for Streaming, and Build First Workflow Online Meetup

Opinions expressed by Java Code Geeks contributors are their own.

Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Back to top button