Array Fan-out Action Plugin



The Array Fan-out executes the step between the fan-out and the funnel-in, in parallel, for each value contained in an array.

Saved Parameters Description

  • Name: The name used to identify a saved ArrayFanouts configured instance.
  • Comments: Some comments about this saved ArrayFanouts configured instance.
  • Fan-out variable: The name of the variable to expose as the array to fan out from.
  • Fanned as: The name of the variable produced by the step for each fanned out step.
  • Variable Type: Specifies the exected type of the fanned-as variable.
  • Execute serial: By default all fanned-out step are executed in parallel (all at the same time), if checked they will be executed serially (one after another)

Inputs Description

The list of inputs depends on the configuration of the plugin template.

This action exposes a single run-time input—the array to fan-out values from. If that array is empty, the step will fail.

Outputs Description

This action will execute the step as many times as the number of values in the input for the plugin. The values defined in the template are the following:

  • Fanned as: For each execution, the selected value is exposed with the variable name (string) as specified in this field.
  • Fanout_Size: The size of the array that was submitted to the plugin.

Supported Actions

None.

Dependencies

None.

Operating Instructions

This action works in synergy with the Array Funnel in.

When there are multiple values in an array, these two steps allow to execute the same action over each values in the array, in parallel.

The action included between a Fan out and a Funnel in will be executed as many times as values in the input array.

Note: only one step is supported between a fan out and the corresponding funnel in.

ATTENTION: by default, if one of the action step (the step between a fan out and the funnel in) execution fails, all others will stop at the same time.

In order to guarantee that all parallel execution completes, make sure to link the complete, fail and error outputs to a logical OR and then to the corresponding Funnel in step.