@itentialopensource/chunk-large-array-for-child-job
v0.0.7-2022.1.1
Published
[Deprecated] Pre-built to run child job loops on data >10k entries in size.
Downloads
5
Readme
Deprecation Notice
This Pre-Built has been deprecated as of 04-30-2024 and will be end of life on 04-30-2025. The capabilities of this Pre-Built have been replaced by the IAP - Workflow Utilities
Chunk Large Array For Child Job
Table of Contents
Overview
This Pre-Built allows child jobs to iterate over an array with size larger than 10,000. Users may input a large array and a desired chunk size (<=10,000) and the pre-built will separate the data into chunks that can then be passed to a child job in groups. This Pre-Built overcomes the size limitation of 10,000 elements for child job loop data.
Installation Prerequisites
Users must satisfy the following pre-requisites:
- Itential Automation Platform
^2022.1
How to Install
To install the Pre-Built:
- Verify you are running a supported version of the Itential Automation Platform (IAP) as listed above in the Requirements section in order to install the Pre-Built.
- The Pre-Built can be installed from within App-Admin_Essential. Simply search for the name of your desired Pre-Built and click the install button.
How to Run
Use the following to run the Pre-Built:
The chunkArrayWrapper can be run as a child job with the user input data in array format and a specified chunk size. The user must manually specify the child job they want to be run on their data in the chunkArrayWrapperChild workflow.
- Add chunkArrayWrapper as a child workflow in any parent workflow
- Specify data for the two job variables data_array (the data the child flow run with) and chunkSize (10,000 or less).
- Open chunkArrayWrapperChild and specify the child flow to be run on the data. Loop type can also be changed to be either parallel or sequential.
- Run parent workflow
Additional Information
Please use your Itential Customer Success account if you need support when using this Pre-Built.