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.
- Task data – Data used to run a task
- Environment variable – Protected data that can change based on the environment (Test or Production)
- Store – Static data to store variables, objects, tables or code snippets
- Metadata – Data that contains information about the job