# Persist and attach workspace do not work when using "waiter" job workaround

**URL:** <https://discuss.circleci.com/t/persist-and-attach-workspace-do-not-work-when-using-waiter-job-workaround/49383>\
**Category:** Running Tests\
**Tags:** workflow, android, circle-yml, ios, docker\
**Created:** [September 26, 2023, 8:27pm UTC](https://discuss.circleci.com/t/persist-and-attach-workspace-do-not-work-when-using-waiter-job-workaround/49383 "2023-09-26T20:27:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![btrautmann](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/btrautmann/32/32885_2.png) [@btrautmann](https://discuss.circleci.com/u/btrautmann)\
**Post date:** [September 26, 2023, 8:27pm UTC](https://discuss.circleci.com/t/persist-and-attach-workspace-do-not-work-when-using-waiter-job-workaround/49383/1 "2023-09-26T20:27:39Z")

</div>

We have a workflow that contains 2 jobs that run in parallel. These jobs run end-to-end tests for Android and iOS platforms. A third job is intended to take files that are created and persisted via `persist_to_workspace` and act on them (after using `attach_workspace`). However, this job must run even if one of the testing jobs fails. In order to accomplish this, I’ve successfully set up the workaround to allow for running jobs sequentially regardless of the outcome of the required jobs (title of the workaround is `[Workaround] Run jobs sequentially regardless of the outcome of the required jobs` as I cannot post links). Note that using the workaround means removing the explicit `requires` dependency between the final job and the upstream ones. I believe the `persist_to_workspace` and `attach_workspace` require this relationship; at least that’s what the article (titled `Using Workspaces to Share Data between Jobs` would have me believe.

During the testing jobs, the following is logged when persisting:

```auto
Creating workspace archive...

Uploading workspace archive...
Total size uploaded: 251 B
Workspace archive uploaded successfully.

```

But during the completion job, the following is printed:

```auto
Downloading workspace layers
Total size downloaded: 0 B
Applying workspace layers
  591b840f-6436-4f29-828a-0301371407f1 - persisted no files

```

This leads to a `FileNotFoundException` when trying to access the files.

Any chance I’m just missing something? Can I provide any more information?

Thanks!
