# Workflow

Workflow is the sequence of  processes through which a piece of work passes from initiation to completion.&#x20;

P4W provides a tool to create workflows that could be applied to the production orders within the warehouse. To create new workflow, navigate to Setup > Workflows and click 'New' button as shown below.

## Create New Workflow

<figure><img src="/files/8WZ6ht838uiKUF2qqVfm" alt=""><figcaption></figcaption></figure>

In the 'New workflow' pop-up window, type in name and description for current workflow. Click 'Submit' to continue.

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

{% hint style="info" %}
Notice: 'Name' field is mandatory for filling.
{% endhint %}

## Workflow Details

With the P4W workflow tool the production process can be mapped. At each stage of production the order is scanned so the stage of production is always known.&#x20;

From the workflow list, make a selection by clicking workflow link from the 'Name' column.

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

Workflow details page consist of two main segments, workflow details and workflow map.

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

In workflow details section, users can change name and description of the workflow. Additionally, workflow can be set as a default variant by using check box mark.

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


---

# 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.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.
