Skip to main content Skip to search Skip to main navigation
Contact

UAC Utility: For-Each-Input Loop

Product information "UAC Utility: For-Each-Input Loop"

This integration is designed to automate the processing of input data by reading it from a flat file in Windows/Linux or a UAC script data repository. The core functionality revolves around a for-each loop, which iterates through the input data, parsing it using a predefined delimiter (such as a comma, pipe, or any one or two characters).

The parsed data segments are extracted and provided further to UAC tasks or workflows during each iteration. This allows for modular processing, where each task can handle a specific aspect of the data, enabling efficient and organized execution of complex workflows.

Key Features

This Universal Template provides the following key features:

  • Read input from a Windows or Linux flat file.
  • Read input from UAC script type data.
  • Parse each line of input via any single or two characters.
  • Launch UAC task or workflow for every line of the parsed input via REST API.
  • Option to wait and launch UAC tasks or workflows based on the previous execution's completion.
  • Capability to launch UAC tasks or workflows either sequentially or in parallel and monitor executions of launched task instances.
  • Restart the for-each loop task from the failed line of input or customize the input lines accordingly in the UAC script data.
  • Option to abort for each loop task execution when one of the launched child tasks or workflows fails.

What's New v1.4.0

Enhancements

  • Staggered launch method: with "Parallel Task Launch" checked and a "Launch Delay (seconds)" greater than 0, one task is launched every "Launch Delay (seconds)" seconds without waiting for earlier tasks to finish, and each task is reported as soon as it finishes. 
  • New UT_FOR_EACH_POLL_INTERVAL_SECS environment variable to set the interval at which the status of launched tasks is checked. 
  • New "Continue When a triggered Task Fails" option for parallel and staggered launches: failed tasks and failed launches are listed, the remaining tasks are still launched and monitored, and the For-Each-Input Loop task ends successfully. It is unchecked by default, which keeps the previous behavior of ending the task in failure.
Fixes

  • Parallel launches no longer keep monitoring a launched task that ended in Skipped or Running/Problems status; the task is reported as failed.
Universal Template Name: CS For-Each-Input Loop
Version: 1.4.0
Type: Free
Compatibility : UC/UA 7.8 and above
Support: Community Created