Limiting the Fetch Entities Step
  • 12 Mar 2021
  • 1 Minute to read
  • Dark
    Light

Limiting the Fetch Entities Step

  • Dark
    Light

Article Summary

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

Version6.4.0
Root FolderExample Lab - Fetch Entities
Modules None
DependenciesNone

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



Was this article helpful?