> For the complete documentation index, see [llms.txt](https://docs.enate.net/whats-new/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.enate.net/whats-new/eses/versiones-anteriores/resumen-de-cambios-versiones-anteriores/descripcion-general/mejoras-en-la-accion-esperar-a-que-se-completen-los-subcasos.md).

# Mejoras en la acción 'Esperar a que se completen los subcasos'

v2021.1

Una vez que un Sub-Caso ha sido lanzado (ya sea manualmente o a través de una Acción de "Iniciar Caso"), una Acción de "Esperar a que los Sub-Casos se Completen" se moverá a un estado de "Esperar" para que todos los Sub-Casos que se están ejecutando actualmente dentro de un Caso lleguen a la finalización antes de permitir que el Caso se complete.

![](https://gblobscdn.gitbook.com/assets%2F-MR4uErt41EMkGUOTvyd%2F-Mahf7s_DMYD56EJBY03%2F-MahjL3C13RNC2jFgHiy%2Fimage.png?alt=media\&token=7d6c2eb3-78c8-4b0a-a6c5-6c79a272dbba)

Una vez completado el subcaso, la acción "Esperar a que se completen los subcasos" se cerrará automáticamente.

![](https://gblobscdn.gitbook.com/assets%2F-MR4uErt41EMkGUOTvyd%2F-MahUFjily7RQQJpY-ey%2F-MaheDU9F_gMsejOp3Id%2Fimage.png?alt=media\&token=37e002c4-5517-4301-b605-f568d39c1db5)

Si no se ha lanzado un subcaso pero se ha lanzado una acción "Esperar a que se completen los subcasos", la acción "Esperar a que se completen los subcasos" entrará en estado "Por hacer" y se asignará a una cola.

![](https://gblobscdn.gitbook.com/assets%2F-MR4uErt41EMkGUOTvyd%2F-M_tt8kvvrs8MMHHKag6%2F-M_ttFIUdXov1PCb7v2Z%2Fimage.png?alt=media\&token=abd4dab3-54ef-4172-930a-09775d9106cd)

Si la Acción no está en estado "Esperar a que se completen los subcasos" y el subcaso por el que está esperando se ha completado, aparecerá un mensaje como "El subcaso se ha completado en la tarjeta de información".

![](https://gblobscdn.gitbook.com/assets%2F-MR4uErt41EMkGUOTvyd%2F-Mahf7s_DMYD56EJBY03%2F-MahjJ5dRBh27P7pDi6T%2Fimage.png?alt=media\&token=cf9a40b1-9f4e-4195-ae20-6b17596a4c90)

Si el subcaso aún no se ha lanzado y se intenta configurar la acción como "Esperando a que se complete el subcaso", la acción se cerrará porque no se ha lanzado ningún subcaso.

Si intenta resolver manualmente una acción de "Esperar a que se complete el subcaso", el sistema le informará de que el caso principal ya no esperará a que se complete el subcaso antes de completarse a sí mismo.

![](https://gblobscdn.gitbook.com/assets%2F-MR4uErt41EMkGUOTvyd%2F-MahUFjily7RQQJpY-ey%2F-MahXkdw7JGQmuPjwTlW%2Fimage.png?alt=media\&token=17fbf5e7-0de3-4dff-bcc1-cb1d6c1e2ebe)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.enate.net/whats-new/eses/versiones-anteriores/resumen-de-cambios-versiones-anteriores/descripcion-general/mejoras-en-la-accion-esperar-a-que-se-completen-los-subcasos.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
