> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# restartApplication(Mule)

> The restartApplication operation restarts a running Mule Application. It is normally used in deploy or utility workflow. FDMULE TYPE Notes Specific to

The `restartApplication` operation restarts a running Mule Application. It is normally used in deploy or utility workflow.

<table><colgroup><col /><col /></colgroup><tbody><tr><th>**FDMULE\_TYPE**</th><th>**Notes Specific to the Mule Type**</th></tr><tr><td>Standalone</td><td>This operation should run on the Mule server where the project will be restarted.Since standalone servers don't natively support this operation, This operation runs a FlexDeploy specific process to mark the application as one to be stopped. The application will be shown as undeployed in the logs, and then deployed again.In order to restart an application on an entire cluster, set up multiple instances or endpoints.The operation will be run on all of them so the application will be restarted on all of the cluster members.</td></tr></tbody></table>

# Target Properties

> [!NOTE]
>
> In 9.0.0.3, the cloud-related properties were moved into cloud accounts. This process happens automatically during server startup / migration. If you running on a version of FlexDeploy prior to 9.0.0.2, please refer to the 8.0 documentation instead of this page.

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Property Name**</th><th>**Property Code**</th><th>**Required for which Mule Type**\
</th><th>**Description**</th></tr><tr><td>Mule Account</td><td>`FDMULE_CLOUD_ACCOUNT_CODE`</td><td>CloudHub, Anypoint Runtime Manager</td><td>The Mule Integration AccountSee [Configuring a Mule Cloud Account](https://docs.flexagon.com/flexdeploy-11-2-documentation/flexdeploy-plugin-guides/flexdeploy-mule-plugin-guide/appendix-mule/configuring-a-mule-cloud-account.md) for help creating a Mule Cloud Account.</td></tr><tr><td>Mule Home</td><td>`FDMULE_HOME`</td><td>Standalone</td><td>Path to the Mule Standalone Install</td></tr><tr><td>Mule Type</td><td>`FDMULE_TYPE`</td><td>All</td><td>The type Mule server that this environment includes.(CloudHub, Anypoint Runtime Manager, Runtime Agent, Standalone)</td></tr><tr><td>Timeout in Milliseconds</td><td>`FDMULE_TIMEOUT`</td><td>None</td><td>Timeout for deployment and utility operations such as start and stop application.Defaults to 600000 which is 10 minutes.</td></tr><tr><td>Runtime Agent URL</td><td>`FDMULE_AGENT_URL`</td><td>Runtime Agent</td><td>The URL of Runtime Agent</td></tr><tr><td>Mule Region Code</td><td>`FDMULE_REGION`</td><td>None. Used for CloudHub, but optional</td><td>Region Code for Mule</td></tr></tbody></table>

# Project Properties

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Property Name**</th><th>**Property Code**</th><th>**Required for which Mule Type**</th><th>**Description**</th></tr><tr><td>Mule Application Name</td><td>`FDMULE_APP_NAME`</td><td>All</td><td>Name of the Mule Application to stop</td></tr><tr><td>Target Type</td><td>`FDMULE_TARGET_TYPE`</td><td>Anypoint Runtime Manager</td><td>Mule Target Server Type(Server, Cluster, ServerGroup)If necessary, this property can be overridden at the property/Target level.</td></tr><tr><td>Target Name</td><td>`FDMULE_TARGET_NAME`</td><td>Anypoint Runtime Manager</td><td>Name for the Target Server, Cluster or GroupIf necessary, this property can be overridden at the property/Target level.</td></tr><tr><td>Static IP Address</td><td>`FDMULE_STATIC_IPADDRESS`</td><td>None. Used for CloudHub, but optional\
</td><td>Static IP Address for the ApplicationIf necessary, this property can be overridden at the property/Target level.</td></tr></tbody></table>

# Artifacts

This operation does not produce or consume artifacts.

# Endpoint Selection

This operation will select all available endpoints associated to the Target.

# Endpoint Execution

This operation will execute on all of the selected endpoints.
