0.0.8-2023.1.0 • Published 11 months ago

@itentialopensource/chunk-large-array-for-child-job v0.0.8-2023.1.0

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
11 months ago

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 (as shown below).

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.

  1. Add chunkArrayWrapper as a child workflow in any parent workflow
  2. Specify data for the two job variables data_array (the data the child flow run with) and chunkSize (10,000 or less).
  3. 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.
  4. Run parent workflow

Additional Information

Please use your Itential Customer Success account if you need support when using this Pre-Built.

0.0.8-2023.1.0

11 months ago

0.0.7

12 months ago