# Workflow

A **workflow** is a set of tasks that run in sequence to evaluate a configuration as part of an [optimization study](https://docs.akamas.io/akamas-docs/3.6/reference/glossary/optimization-studies). A **task** is a single action performed within a workflow.

Workflows allow you to automate Akamas optimization studies, by automatically executing a sequence of tasks such as initializing an environment, triggering load testing, restoring a database, applying configurations, and much more.

These are examples of common tasks:

* Launch remote commands via SSH
* Apply parameter values in configuration files
* Execute Spark jobs via spark-submit API
* Start performance tests by integrating with external tools such as Neoload

Workflows are first-class entities that can be defined globally and then used in multiple optimization studies.

Akamas provides several [workflow operators](https://docs.akamas.io/akamas-docs/3.6/reference/workflow-operators) that can be used to perform tasks in a workflow. Some operators are general-purpose, such as those executing a command or script on a specific host, while others provide native integrations with specific technologies and tools, such as Spark History Server or load testing tools.

## Construct

The construct to be used to define a workflow is described on the [Workflow template](https://docs.akamas.io/akamas-docs/3.6/reference/construct-templates/using-workflows) page.

## Commands

A telemetry provider is an [Akamas resource](https://docs.akamas.io/akamas-docs/3.6/cli-reference#clireference-operations) that can be managed via CLI using the [resource management commands.](https://docs.akamas.io/akamas-docs/3.6/reference/cli-reference/resource-management)

## User Interface

The Akamas UI shows systems in a specific top-level menu.

<figure><img src="https://4103111959-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzrIhBBVa4sw46ol13SWX%2Fuploads%2Fgit-blob-428f24af6753b264532cf05a0b1b0234c5a99d32%2FScreenshot%202022-12-22%20at%2009.46.33.png?alt=media" alt=""><figcaption></figcaption></figure>

The list of tasks is displayed when drilling down to each specific workflow.

<figure><img src="https://4103111959-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzrIhBBVa4sw46ol13SWX%2Fuploads%2Fgit-blob-9407e888d5c12c5bcbb144ef9ae9bb9544cd84b6%2FScreenshot%202022-12-22%20at%2009.47.02.png?alt=media" alt=""><figcaption></figcaption></figure>
