# Workflow Mapping

Production Workflow allows the order to be tracked through the different stages of the production process.

To start new workflow, use CTRL + Left Click anywhere in the workflow map section.

<figure><img src="/files/L892aIddOobHIzRLmZsD" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Notice: Workflow steps can be rearranged by holding Left Click and dragging the icons.
{% endhint %}

To create next step, select current step (name of selected step will be highlighted by **bold** text) and use Right Click. System will create new step and a transition link automatically.&#x20;

{% hint style="info" %}
Notice: Currently selected steps or transitions are reflected on the right side of the workflow details page.&#x20;
{% endhint %}

<figure><img src="/files/bGs0LCpxTuhcpRiWKRoe" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Notice: Steps and Transition Links can be added and deleted separately.&#x20;
{% endhint %}

Transitions between steps does not have to be unidirectional. In case of a quality assurance (QA) step, system allows to revert the flow of the process back to previous (or alternative) step in order to fix the issue.

<figure><img src="/files/2AetFB3yUacJz20G0HFS" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Notice: Make sure to provide proper Names and Description for each step to make a workflow more comprehensible for the end user.
{% endhint %}

Additionally, link between two process there can be data captured. For example, when a product fails inspection and is moved to the disposal area, a reason for the failure can be captured. This will help to determine the cause of failure and can help to increase productivity going forward.&#x20;

<figure><img src="/files/EzJZUW9zL5hqni1o4Ytf" alt=""><figcaption></figcaption></figure>

Finally, a single workflow can only have one starting and one ending point.

{% hint style="info" %}
Notice: Click 'Save' to apply changes.&#x20;
{% endhint %}


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.p4warehouse.com/v2/production/workflow/workflow-mapping.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
