Install and enable Dynamic Advanced Commands

In this article:

Prerequisites

To ensure Dynamic Advanced Commands (DACs) can be properly synchronized, the following have to be configured:

  • In Optional features step while installing RPA Server, make sure Enable Distribution System for DACs option is enabled.

  • In Updated service details step while installing RPA Studio or RPA Robot, make sure Enable distribution system option is selected.

In addition, you have to decide whether to install DACs either in the RPA server or the client machine. If they are installed in the server, DACs will synchronize to all client machines where RPA Studio/Robot is installed. On the other hand, if DACs are installed in the client machine, DACs will synchronize to the RPA Studio/Robot installed on that machine.

Install DACs

  • Make sure that Nintex RPA Studio is installed before the DAC installation.

  • The Nintex Updater service MUST be running for DAC to work properly. This can be validated by opening Microsoft Window's Services.msc and checking the status of Nintex Updater service.

  1. Download the Dynamic_Commands.exe file that corresponds to your RPA version from Nintex Customer Central.

  2. Run the Dynamic Commands installer.

  3. Select the Deployment Type.

    By selecting Server deployment, the DACs will automatically be distributed to all clients.
  4. Allow the installer to perform a System check.

    If Client was selected:

    If Server was selected:

  5. Select the Dynamic Commands you wish to install. It is highly recommended that you select all the dynamic commands. Certain Advanced Commands may not work as expected if there is no corresponding Dynamic Command version.

  6. Specify the Installation folder path field (the recommended folder is C:\Nintex).

  7. Click Next to initiate the installation.

    In addition to installing the Dynamic Commands, the installer will also install Microsoft Windows Desktop Runtime to allow the system to run a new host service (Kryon.DC.Remote.Host). The execution of the Dynamic Commands is performed by this new host service, not from Studio.

  8. Restart the server. This must be performed to ensure the changes take effect and is initialized.

  9. To confirm that the service is running, open Task Manager and look for Kryon.DC.Remote.Host service. It may appear in a different location in Task Manager, depending on the version of Microsoft Windows. You can expect two instances running if both RPA Studio and Robot are installed and running:

    The service "Kryon.DC.Remote.Host.service" starts only when the studio and/or robot are up and running, and not when they are idle.

  10. Make sure to run the installation on every client machine that needs to use the Dynamic Commands if it was originally installed on the client machine.

Once installation is complete, you can check that the commands appear under the installation folder. An example as follows:

Naming convention

The naming convention is : Kryon-ac-commandname-year.month.version

  • "ac" stands for "advanced command"

  • The date stands for the release date of the dynamic command + its version

Synchronize and update DACs

Synchronize from RPA server to RPA client machine(s)

In the setup where DACs are installed in the RPA server, DACs from the server will synchronize with client machine(s) and is facilitated by the Nintex DAC Updater service in the server and the client machine. This happens in the background and may take up to 40 minutes to complete for the first time.

Ensure the Nintex Updater service is running in the server and client machine to ensure successful synchronization.

Synchronize from RPA client machine(s) to RPA Studio/Robot

In the setup where DACs are installed in client machine(s), DACs will synchronize with the RPA Studio and RPA Robot. Synchronization happens separately for each user account in the machine and each user will have their own copies of DACs.

Synchronization happens when the RPA Studio or RPA Robot is open and idle with no wizards open. Alternatively, you can force synchronization.

Your DACs are synchronized when you can see a blue dot next to the DAC when editing a wizard in RPA Studio.

Update Dynamic Advanced Commands

The DAC Updater Service can be enabled from the:

Run updater from the Robot

To run the DAC Updater Service from the Robot:

  1. In the Nintex Robot, select Options.

  2. Select the Advanced tab.

  3. Scroll down to the DAC Updater Service and choose from the options listed.

  4. Select Run DAC updater service manually option and click Update all DAC's to manually update your DACs. When complete, you should change it back to the Run DAC updater service automatically option.

  5. Click OK to save settings.

Run updater from the Studio

To run the DAC Updater Service from the Studio:

  1. In the Nintex Studio, select Tools from the menu bar.

  2. Select Options from the dropdown, and the Options window opens.

  3. Select the Advanced tab.

  4. Scroll down to the DAC Updater Service and choose from the options listed.

  5. Select Run DAC updater service manually option and click Update all DAC's to manually update your DACs. When complete, you should change it back to the Run DAC updater service automatically option.

  6. Click OK to save settings.