# Preparation

## Overview <a href="#preparation-overview" id="preparation-overview"></a>

You must be administrator of the web server. You must know:

* The physical path on the web server where WorkflowGen web application is installed.
* The physical path on the web server where WorkflowGen Windows Services are installed.
* The URL of the web server where WorkflowGen is installed.
* MS SQL Server database:
  * The name of the MS SQL server.
  * The credentials of the SA account.
  * The file path of the SQL server database files on the SQL server machine.

You'll need to perform the following actions:

* Update the web application files.
* Update the Windows services files.
* Update the web configuration file.
* Update the Directory Synchronization and Engine Service files and move the XMLTODATABASE transaction file.
* Update the database structure and contents.

## Request new license files and serial numbers

If you're upgrading from WorkflowGen version 5, you must request a new license (trial, unlimited, or per user) and a new serial number for each of your WorkflowGen servers.

* The new license file must be copied to the `\wfgen\bin` folder.
* Define the new serial number in the `\wfgen\web.config` file (e.g. `<add key="ApplicationSerialNumber" value="WFG-ENT-XXXXX-XXXXX-XXXX-XXXX" />`).

{% hint style="warning" %}
Be sure to back up your previous license file and serial number.
{% 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.workflowgen.com/upgrade/8.3.2/preparation.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.
