---
title: AAPM Triggers
slug: kronpam-legacy-ui-reference-guide-3-5-0/aapm-triggers
description: Learn how to effectively use AAPM Triggers to update client application passwords in this comprehensive document. Discover step-by-step instructions on defining triggers, searching for relevant records, and configuring the AapmTriggerProcessJob in the Job
docTags: 
createdAt: 2022-07-31T14:08:41.000Z
---

Another way to have client applications work with dynamically changed passwords is by restarting the client apps with the new passwords after an SAPM account password has been changed. AAPM Triggers are defined for this purpose. When defined, the Password Vault connects to the server running the client apps and restarts the apps with the new password.

To define AAPM Triggers:

1. Navigate to **AAPM Management&#x20;**> **AAPM Management**.
2. Open the **AAPM Triggers** tab.
3. Select the SAPM account used to trigger a restart after the SAPM account password change.
4. Select th&#x65;**&#x20;Strategy**.
5. Select the target type as either **Single Device** or **Bulk**.
6. Select a device if you selected Single Device target type, or select the **Device Group&#x20;**&#x61;nd the **Element Type** if **Bulk&#x20;**&#x74;arget type is selected and click **Save**.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/qDO-H5Dw0o9SUaw0cqfH7_image.png "AAPM Triggers")

When an SAPM account password changes and an AAPM Trigger is set off, an **AAPM Trigger Process&#x20;**&#x72;ecord is created for each matching device, associated with the relevant **AAPM Trigger&#x20;**&#x64;efinitions. To search for these process records, use the **AAPM Trigger Process&#x20;**&#x74;ab:

1. Navigate to **AAPM Management&#x20;**> **AAPM Management**.
2. Open the **AAPM Trigger Process** tab.
3. Fill in the related fields and click **Search**.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/qlNocBDy-3nztU8P7Wycl_image.png "AAPM Trigger Process")

The initial status of this process is **Waiting**. To trigger this process at a specific time, the **AapmTriggerProcessJob** job must be defined in the **Jobs Scheduler**:

1. Navigate **Administration** > **Jobs Scheduler**.
2. Open the **Trigger List** tab.
3. Select **AapmTriggerProcessJob** as the Job.
4. Fill in the **Trigger Name** and **Cron Expression** fields.
5. To enable the job, select **Enabled** for the **Active&#x20;**&#x66;ield and click **Save**.

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/G62Qsds2ENCuDpmhf7orM_image.png" size="80" width="980" height="399" caption="Saving an AAPM Trigger Process Job" position="center" showCaption="true"}

:::hint{type="info"}
Regardless of how many **AAPM Triggers** are set, running only one **AAPM Trigger Process Job** is enough to run all triggers.
:::

To define the AAPM Strategy:

1. Navigate to **AAPM Management**.
2. Open th&#x65;**&#x20;Configuration** tab.
3. Click the **Options** button to Show Properties.
4. Define the properties.

***Samba Strategy:***

| **Parameter Name**            | **Parameter Value**   |
| ----------------------------- | --------------------- |
| **ldap.username.dn.template** | Active Directory User |

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/_It0NN31T3T81OvHaN6eD_image.png" size="70" width="634" height="91" caption="Samba Strategy" position="center" showCaption="true"}

***WinRM Strategy:***

In the AAPM Configuration, the following parameters can be defined by selecting the Windows WinRM Service. The default values are listed below.

| **Parameter Name**           | **Parameter Value** |
| ---------------------------- | ------------------- |
| **winrm.port**               | 5986                |
| **winrm.secure**             | true                |
| **winrm.ignore.certificate** | true                |
| **winrm.auth.method**        | NTLM                |

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/2FPWnVlEbULk8PAit1tom_image.png" size="70" width="703" height="172" caption="WinRM Strategy" position="center" showCaption="true"}

***WebLogic Strategy:***

The values of the following properties can be specified in the Properties pop-up window on the AAPM Configuration screen:

| **Parameter Name**           | **Parameter Value**                                                                                                    |
| ---------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| **weblogic.admin.url**       | $\{deviceURL} or $\{deviceIp}                                                                                          |
| **weblogic.admin.port**      | If $ \{devicePort} is written for weblogic.admin.port, the information of the device defined by the sapm side is used. |
| **weblogic.admin.username**  | User information connecting to Weblogic.                                                                               |
| **weblogic.admin.password**  | User password connected to Weblogic.                                                                                   |
| **weblogic.datasource.name** | Driver JDBC Connector.                                                                                                 |

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/fayVujdLU-gmSk5ZtLe2W_image.png" size="70" width="709" height="186" caption="WebLogic Strategy" position="center" showCaption="true"}

