# Workflows – Legacy Module

{% hint style="info" %}
If you're creating a new workflow, refer to the [Workflow Builder](/command-centre/accessnow-user-guide/workflow-creation/creating-and-managing-workflows/workflow-management.md) instructions. The following instructions are only for editing workflows created with the legacy module.
{% endhint %}

Workflows, which were created using pre-prepared JSON files, can be found in the legacy **Workflows** module. This functionality is in the process of being replaced by the next-generation  [Workflow Builder](/command-centre/accessnow-user-guide/workflow-creation/creating-and-managing-workflows/workflow-management.md) and [Workflow Management](broken://pages/xqyTOLmKVQeoeiNcg3j5) modules.

Early adopters may still use the legacy Workflows module until it is deprecated.&#x20;

{% hint style="warning" %}
**Workflow Visibility:** Only workflows created in this module, along with those in **Published** status from the Workflow Builder, are visible in the legacy workflow management module.
{% endhint %}

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

The legacy Workflow module provides users with the following features:

* **Search**: Allows searching by workflow name.
* **Sort**: Sort the workflows by name, type, or enablement status by clicking the table headers.&#x20;
* **New Workflow** button: Enables the creation of new workflows using predefined JSON files.
* **Reset Order button**: Order number sets the display order for workflows on the Requests dashboard.  This button clears the assigned order numbers from all workflows.&#x20;

{% hint style="danger" %}
If no order is defined, workflows are displayed in a random order on the AccessNow **Make a Request** dashboard.
{% endhint %}

* Displays workflow attributes such as Name, Description, Type, Enabled, and Order. Refer to the [Editing Workflows](#editing-legacy-workflows) section below for more details.
* **Actions**:
  * Use the **Pencil** icon to **Edit** the workflow.&#x20;
  * Use the **Bin** icon to **Delete** the workflow.

## Editing a Workflow in the Legacy Workflows module

To modify a workflow configuration, use the **Edit** icon within the legacy **Workflows** module. This allows you to adjust the configuration by editing the JSON file as well as modify specific workflow attributes as needed. The attributes and fields you can edit include:&#x20;

* **Name:** Display name of the workflow e.g. in the Make a Request dashboard.
* **Enabled**: Checks if the workflow is available for use. Disabled workflows will not appear on the system dashboard (for User workflows) or dropdowns (for System workflows).&#x20;
* **Type**: Differentiates between user-triggered self-service workflows (**User** type) and system-triggered automated processes (**System** type).
* **Description:** Optional field that allows adding a descriptive workflow overview to improve future maintenance.
* **Definition**: Includes the JSON workflow definition.
* **Order**: Sets the display order for User type workflows on the **Make a Requests** dashboard. It does not apply to or affect the order of System-type workflows.&#x20;


---

# 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://help.security.gallagher.com/command-centre/accessnow-user-guide/workflow-creation/creating-and-managing-workflows/workflows-legacy-module.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.
