Delete Empty Values in List Step

This step gets rid of all empty values from a chosen list variable. Use it to tidy up your data and make sure your lists only have useful information. This step only works with lists of text.

How to Use Delete Empty Values in List

This step takes a list, removes empty entries, and saves the result to a new or existing list.

Step 1: Add the Step to Your Process

  1. Drag and drop the "Delete Empty Values in List" step into your process.
  2. (Optional) In the "Step Name" field, give the step a custom name. This helps you find it in your process flow.

Step 2: Set Up Input Parameters

  1. In the "Source list variable" field, pick the list variable that has the values you want to clean. This list must be a ListOfStrings data type.

Step 3: Set Up Output Parameters

  1. In the "Destination list variable" field, type the name for the list that will hold the cleaned values. You can use a list that's already there or make a new one.
  2. In the "Element count" field, type a variable name. This number variable will store how many items are in the Destination list variable after empty values are gone.
  3. In the "Deleted count" field, type a variable name. This whole number variable will store how many empty items the step removed from the original list.

Parameters Explained

Step Name (Optional)

  • A custom name for this process step.
  • Example: Clean My String List
  • Use this to make your process easier to understand.

Source list variable (Required)

  • The name of the list you want to work with.
  • This must be a list of text (ListOfStrings).
  • Example: myOriginalList

Destination list variable (Required)

  • The variable where the cleaned list will go.
  • You can pick an existing ListOfStrings variable or make a new one.
  • Example: myCleanedList

Element count (Required)

  • A number variable that will hold the count of items in the Destination list variable.
  • Example: cleanedListCount

Deleted count (Required)

  • A whole number variable that will store how many empty items were removed.
  • Example: emptyValuesRemoved

Related Articles

Need Help?

Can't find what you're looking for? Join the Robotiq Community to get help from other users and the Robotiq team.

Was this article helpful?