# Native Workflows

## What is a Workflow?

* The individual apps can be easily combined into pipelines, which are on the DNAnexus platform referenced as workflows.
* These apps are linked together by dependencies and can hand off their outputs to other apps as they complete.
* Apps in a workflow will always begin executing as soon as their inputs are satisfied and if possible they will run independently.
* Workflows can be created by clicking on the **Add button** and selecting the **New Workflow**.

This is what it will look like once you select "New Workflow"

![](https://3504452945-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fp8rQlIsJAoT4gb1fg2yr%2Fuploads%2Fgit-blob-511a04bdd01028fe0134b63a27e62e1ef29a0345%2FUntitled%20presentation%20\(2\).jpg?alt=media)

## Running and Monitoring a Workflow

### Set Up and Running the Workflow

* Add the apps that you want for the workflow and order them where the dependencies are generated first
* After that, add in the necessary requirements. They are featured below:

  ![](https://3504452945-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fp8rQlIsJAoT4gb1fg2yr%2Fuploads%2Fgit-blob-b276d5b61ea9763d49117fe66fd7440867b9c1cb%2Fworkflow_edited.png?alt=media)
* Select Start Analysis
* You will have a "pre-flight" check to make sure everything that is needed is there. Once that is complete, select Start Analysis again and it will start to run.

### Monitoring a Workflow

* You will be redirected once you have started the analysis.
* The monitor has panels to show what is running, how long it took to complete, and the order they were done in.
* You can view the information in order to see the details of the workflow.

![](https://3504452945-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fp8rQlIsJAoT4gb1fg2yr%2Fuploads%2Fgit-blob-cfd53f37189e7f3a2554cb7d67a9a65b555c4abd%2Fmonitor_tab_workflow.png?alt=media)

## Supplemental Information

#### Building a Workflow in the GUI

{% embed url="<https://youtu.be/uc5R9K2XaB0?si=VnGauB2FxJzRzkIU>" %}

#### Monitoring An App/ Workflow

{% embed url="<https://youtu.be/ktviv5HZjVg>" %}

## Resources

[User Interface QuickStart Guide](https://documentation.dnanexus.com/getting-started/ui-quickstart)

[Tool Library List](https://documentation.dnanexus.com/user/running-apps-and-workflows/tools-list)

[Full Documentation](https://documentation.dnanexus.com/)

To create a support ticket if there are technical issues:

1. Go to the Help header (same section where Projects and Tools are) inside the platform
2. Select "Contact Support"
3. Fill in the Subject and Message to submit a support ticket.
