> For the complete documentation index, see [llms.txt](https://knowledge.out-smart.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowledge.out-smart.com/outsmart-knowledge-base/outsmart-knowledge-base-pt/loja-virtual-pacotes-e-power-ups/power-ups/fluxo-de-trabalho/validar-a-configuracao-do-fluxo-de-trabalho.md). Agents can also search and read this documentation through its [MCP server](https://knowledge.out-smart.com/~gitbook/mcp).

# Validar a configuração do fluxo de trabalho

Corrija as avarias de configuração mais comuns antes de os funcionários utilizarem um fluxo de trabalho na app.

O OutSmart valida um fluxo de trabalho quando este é guardado.

Desta forma, evita sequências de etapas inválidas e referências em falta.

### O que o sistema verifica

#### Posição da etapa de envio

A **Enviar** deve ser a última etapa do fluxo de trabalho.

Se for colocada antes, a configuração do fluxo de trabalho é inválida.

#### Associação de temporizadores

As etapas do temporizador devem estar numa sequência válida.

Um **Iniciar** temporizador precisa de um temporizador correspondente para **Parar** .

#### Formulários predefinidos

Uma **Formulário predefinido** deve apontar para um formulário válido.

Se o formulário já não existir, é necessário atualizar o fluxo de trabalho.

#### Requisitos das imagens

As definições das imagens devem ser coerentes.

Por exemplo, o número mínimo de imagens não deve ser superior ao máximo.

### Validação durante a utilização

A app também valida cada etapa enquanto os Funcionários percorrem o fluxo de trabalho.

Se faltar uma ação obrigatória, os Funcionários não podem avançar para a etapa seguinte.

### Como corrigir erros comuns

1. Abrir o fluxo de trabalho.
2. Verificar a ordem das etapas.
3. Rever as definições das etapas.
4. Guardar novamente.

Se continuar a não ser possível guardar, corrigir a etapa específica que originou a mensagem.

### Perguntas frequentes

<details>

<summary>É possível guardar um fluxo de trabalho com erros de validação?</summary>

Não.

É necessário resolver primeiro os erros.

</details>

<details>

<summary>Os Funcionários veem erros de configuração?</summary>

Não.

Os erros de Configuração são tratados no Backoffice.

</details>

<details>

<summary>O que acontece se um formulário referenciado for removido?</summary>

É necessário atualizar o fluxo de trabalho com um formulário válido.

</details>

### Tópicos relacionados

* [**Fluxo de trabalho**](https://knowledge.out-smart.com/outsmart-knowledge-base/outsmart-knowledge-base-pt/loja-virtual-pacotes-e-power-ups/power-ups/fluxo-de-trabalho.md)
* [**Tipos de etapas de fluxo de trabalho**](https://knowledge.out-smart.com/outsmart-knowledge-base/outsmart-knowledge-base-pt/loja-virtual-pacotes-e-power-ups/power-ups/fluxo-de-trabalho/tipos-de-etapas-de-fluxo-de-trabalho.md)
* [**Criar e gerir fluxos de trabalho**](https://knowledge.out-smart.com/outsmart-knowledge-base/outsmart-knowledge-base-pt/loja-virtual-pacotes-e-power-ups/power-ups/fluxo-de-trabalho/criar-e-gerir-fluxos-de-trabalho.md)


---

# 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://knowledge.out-smart.com/outsmart-knowledge-base/outsmart-knowledge-base-pt/loja-virtual-pacotes-e-power-ups/power-ups/fluxo-de-trabalho/validar-a-configuracao-do-fluxo-de-trabalho.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.
