Limiting the Fetch Entities Step
- 12 Mar 2021
- 1 Minute to read
- Print
- DarkLight
Limiting the Fetch Entities Step
- 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.4.0 |
Root Folder | Example Lab - Fetch Entities |
Modules | None |
Dependencies | None |
This Example Lab demonstrates how to limit the number of results acquired when using the Fetch Entities Step.
Explanation
In this example, the user can limit the number of results obtained by the Fetch Entities Step to a predetermined value. This is accomplished by using the ForEach Step to add the individual results of the Fetch Entities Step to a list. Once the Fetch Entities Step has run, the ForEach Step iterates through the results a predetermined number of times. Each time the next sequential entity obtained by the Fetch Entities step is added to a list using the Add to List Step. The ForEach Step is stopped by the Less Than or Equal to Rule which returns false and ends the flow when the item index reaches the user's preset value.
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.4.0 or later using our Importing/Exporting article.
PENDING
PENDING
Was this article helpful?