# Install ONEWEB Microflow Server

This section describes how to **deploy the ONEWEB Microflow Server (Microflow Runtime)** on WildFly using the **WildFly Management Console**.

The Microflow Server is responsible for executing integration logic, backend services, and microflows designed using the ONEWEB Microflow Designer.\
Before deploying the runtime component, specific **database configuration values** must be prepared to ensure proper logging and class loading behavior.

***

#### Prerequisite: Database Configuration for Microflow Server

Before deploying the Microflow Server, configure the following values in the database table:

```
bpm.wf_t0_property
```

These properties define logging configuration and class loader paths used by the Microflow runtime.

| Property Name             | Property Value                      | Description                                   |
| ------------------------- | ----------------------------------- | --------------------------------------------- |
| `bpm.ge.log4j.properties` | `/<oneweb>/common/log4j.properties` | Log4j configuration path for Microflow Server |
| `bpm.ge.classLoader.urls` | `/<oneweb>/pd/Files/`               | Upload directory for Microflow artifacts      |

> Ensure that the specified directories exist and that the application server has sufficient read/write permissions.

***

#### Step 1: Access WildFly Management Console

Log in to the **WildFly Management Console** using a web browser.

By default, the console is available at:

```
http://<Application Server IP>:9990
```

Use an administrator account with deployment privileges.

***

#### Step 2: Navigate to the Deployment Panel

1. From the Management Console dashboard, navigate to the **Deployment** panel
2. Click **Add** to deploy a new application archive

The Deployment panel is highlighted in the example below:

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FNR5aYpIi3tuFKhWll6P7%2F0?alt=media" alt=""><figcaption></figcaption></figure>

***

#### Step 3: Upload the Microflow Server WAR File

1. Select **Upload new deployment**
2. Click **Next**
3. Choose the ONEWEB Microflow Server WAR file

The package name follows this format:

```
ONEWEB.MFR.x.x.x.x.YYMMDD24HHMM.wildfly.war
```

Example upload screen:

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2Fa8uTVTNGaXPbYaIzWduP%2F1?alt=media" alt=""><figcaption></figcaption></figure>

After selecting the file, click **Next** to continue.

***

#### Step 4: Enable the Deployment

1. Select **Enable** to activate the Microflow Server immediately after deployment
2. Click **Finish** to complete the deployment process

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2F4GsPZMqL4tN3uINEmXNr%2F2?alt=media" alt=""><figcaption></figcaption></figure>

Wait until the confirmation message indicates that the application package has been deployed successfully.

***

#### Step 5: Verify Microflow Server Deployment

After deployment is complete, verify that the Microflow Server runtime is accessible.

Open a web browser and navigate to:

```
http://<Application Server IP>:<Port>/MicroFlowRest
```

A successful response confirms that the ONEWEB Microflow Server has been deployed and initialized correctly.

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2Fsq4VYk4I0nfFdA4Gnv3n%2F3?alt=media" alt=""><figcaption></figcaption></figure>

***

#### Deployment Result

After completing the above steps:

* ONEWEB Microflow Server is deployed on WildFly
* Integration and backend execution services are active
* Microflows designed in Microflow Designer can be executed
* The platform is ready to support system integrations and API logic


---

# 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.onewebstack.com/getting-started/platform-configuration/platform-components-overview-and-management/install-oneweb-integration-components/install-oneweb-microflow-server.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.
