# Configure Wake-On LAN Workflows

## Import the WoL Workflows

Three workflows need to be imported into the Adaptiva Workbench. These workflows can be found on the Web WakeUp server under **Wake\Control**.

1. Expand **Workbench Perspectives > Misc** folder in the Workbench Perspectives pane
2. Double-click **Object Export-Import Perspective**.

   ![](https://226687595-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FopDQFA2ESgR7Cn1Z9WcH%2Fuploads%2Fgit-blob-45c5a28f0eecd67f653c116ca6b438b16b9dbdad%2Fworkbench-perspective.png?alt=media)
3. Select **Import Objects** in the **EXIM Task Navigator**.

   ![](https://226687595-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FopDQFA2ESgR7Cn1Z9WcH%2Fuploads%2Fgit-blob-af775508d680d49ef22187048fa868eab9b3ed55%2Fexim-task-navigator.png?alt=media)
4. Select the **Workflow\_SF - RVP Wake On LAN Workflow\.obex** file located in the **C:\Wake\2012-Integration folder**.
5. Right-click the workflow and select **Specify Folder**.

   ![](https://226687595-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FopDQFA2ESgR7Cn1Z9WcH%2Fuploads%2Fgit-blob-2b798333550f1ef8d430377ebfed355bf80a809f%2Fspecify-folder.png?alt=media)
6. Select **Workflows/Green Planet Workflows/Client Workflows**.

   ![](https://226687595-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FopDQFA2ESgR7Cn1Z9WcH%2Fuploads%2Fgit-blob-dfc112b13da1b1fe3ddbe271404ada3ee4caf916%2Fselect-folder.png?alt=media)
7. Click **OK**.
8. Click **Import** from the **Import Status** section.

   ![](https://226687595-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FopDQFA2ESgR7Cn1Z9WcH%2Fuploads%2Fgit-blob-fe1b544f769e5b4be075a07961a7a996f31a312f%2Fimport.png?alt=media)
9. Repeat for the two additional workflows and place in the appropriate specified folder:
   * **Workflow\_SF – Register Workflow\.obex** - Workflows/Green Planet Workflows/Server Workflows
   * **Workflow\_SF - Server Wol Status Uploader.obex** - Workflows/Green Planet Workflows/Server Workflows
10. Close the **Object Export-Import Perspective**.

## Deploy WoL Workflows

1. Expand **Workbench Perspectives > Misc** folder in the Workbench Perspectives pane and select **Workflow Designer Perspective**.
2. Open **Workflows/Green Planet Workflows/Client Workflows**.
3. Right-click the **SF – RVP Wake On LAN** Workflow.
4. Click **Deploy**.

   ![](https://226687595-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FopDQFA2ESgR7Cn1Z9WcH%2Fuploads%2Fgit-blob-8b4cea84eeb707be9d8c6ad72961ce72ed899585%2Fworkflow-explorer-deploy.png?alt=media)
5. Check **Enable Logging**.

   ![](https://226687595-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FopDQFA2ESgR7Cn1Z9WcH%2Fuploads%2Fgit-blob-f67560f6bcec7b6ec0453f4eafeccf7b95f8da0c%2Fenable-logging.png?alt=media)
6. Click **OK**.
7. Open **Workflows/Green Planet Workflows/Server Workflows**.
8. Repeat step 4 above for the remaining workflows:
   * **SF – Register Workflow**
   * **SF – Server Wol Status Uploader**

{% hint style="info" %}
For the two remaining server workflows, it is not required to Enable Logging in the Workflow Settings dialog.
{% endhint %}

1. Right-click the **SF – Register Workflow**, and select Launch.

   ![](https://226687595-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FopDQFA2ESgR7Cn1Z9WcH%2Fuploads%2Fgit-blob-9edbe379bae6b69328b8c7d8979d23e699dac321%2Flaunch.png?alt=media)

{% hint style="info" %}
There is no UI for this workflow, and unless an error is displayed, it should be considered successful.
{% endhint %}

## Configure WoL Workflow

1. Navigate to the **Green Planet/Wake On Lan** folder from the Workbench Perspectives side navigation.
2. Select **Global Wake On Lan Settings**.
3. Click **Add** under **Default Peer (RVP) Wake On LAN Workflow**.

   ![](https://226687595-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FopDQFA2ESgR7Cn1Z9WcH%2Fuploads%2Fgit-blob-9d1330347a354d55df66aec8ae85b2a78adfac37%2Fadd-workflow.png?alt=media)
4. Navigate to **Workflows/Green Planet Workflows/Client Workflows**
5. Select **SF – RVP Wake On LAN Workflow**.
6. Click **OK**.
7. Click **Save**.

## Create the Server Execution Policy

1. Click **Home**.
2. Navigate to the **Misc > Tools Foundry Perspective**.
3. Select **Create Server Workflow Execution Policy**.
4. Click **Add** next to **Server Workflow**.
5. Type *ping* in the search field and select.
6. Click **OK**.

   ![](https://226687595-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FopDQFA2ESgR7Cn1Z9WcH%2Fuploads%2Fgit-blob-9a910a099eaa5bf6a040ae6829dbd63b1bf583d4%2Fserver-workflow-execution-policy.png?alt=media)
7. Click **Save**.
8. Select the **Server Workflow Execution Policies** folder.
9. Click OK.
10. Repeat and select the **Wake Adaptiva Client** workflow to add.

    ![](https://226687595-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FopDQFA2ESgR7Cn1Z9WcH%2Fuploads%2Fgit-blob-6eefb84004942c992c1585844552bcb78b30b4be%2Fserver-workflow-execution-policy-wake-client.png?alt=media)
11. Click **Save**, select the **Server Workflow Execution Policies** folder, then click **OK**.
