Set Flow Output
- 12 Mar 2021
- 1 Minute to read
- Print
- DarkLight
Set Flow Output
- Updated on 12 Mar 2021
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Example Lab Article
While Example Lab projects are resources for public use, articles and assets are not actively maintained. Screenshots and features are from the specified version below. These references may become dated as new versions are released.
Overview
Example Lab Details | |
Version | 6.12.1 |
Root Folder | Example Lab - Set Flow Output |
Modules | None |
Dependencies | None |
This Example Lab project demonstrates how to set a flow's output based on different conditions within the flow.
Explanation
This flow takes in a number as an input, and depending on where it's greater than 5 or not, outputs a different string. You can use the unit tests to see the two possible results, or try it yourself in the debugger. Both outcomes from the rule are mapped to different create data steps that set the "Output" string to reflect the rule's result. On the end step, the only string being output from the flow is the "Output" string, which will populate from either one of the create data steps.
Reference Articles
Project Download
The examples attached were developed to be instructional and were not developed as officially supported components. For more information or to engage our service team to develop fully supported, production quality solutions, please contact services@decisions.com. Import the project below to a Decisions environment on version 6.12.1 or later using our Importing/Exporting article.
Was this article helpful?