Skip to main content

Overview

You can use data to perform various operations in Swarm. Data consists of key-value pairs, whereby key is the name and value is the actual value of that piece of data. For example, a piece of data might have a key of first_name and a value of John.

The following are 4 types of data that can be used in Swarm.

  1. Task data – Data used to run a task
  2. Environment variable – Protected data that can change based on the environment (Test or Production)
  3. Store – Static data to store variables, objects, tables or code snippets
  4. Metadata – Data that contains information about the job