Filter Inputs
Remove all empty strings from a set of inputs.
Inputs
Input | Value | |
---|---|---|
input1 , input2 , etc. | Required | Any number of input strings. |
Outputs
Key | Value |
---|---|
output1 , output2 , etc. | Output strings matching all non-empty inputs. For instance, suppose the inputs are:input1 ="quick", input2 ="", input3 ="brown", input4 ="", input5 ="", input6 ="fox"Then the outputs will be: output1 ="quick", output2 ="brown", output3 ="fox"The non-empty strings are moved up and the empty strings are skipped. |
Usage
This action is typically used to display a variable amount of information neatly. For instance, suppose you have a checklist of photos and comments, and you want to add it to a form table. But you know that the checklist doesn't always have information in each row — for example, the checklist may have data in rows 1, 6 and 8, with the remaining rows empty. When adding this to the form, you want to consolidate this into 3 consecutive rows rather than leaving empty rows, so that it looks neater. The Filter Inputs action allows you to do this.
Updated over 6 years ago