Scheduling and orchestration processes do not work when using MSMQ

You might have problems when trying to schedule or orchestrate scripts when you use Microsoft Message Queueing (MSMQ) as your system queue provider.

Symptoms

You try to schedule a script or start an orchestration process but it doesn't work. There are several known causes to the problem related to MSMQ and environment configuration.

Causes

The problem has the following known causes:

  • MSMQ has not been installed correctly or is not available.
  • MSMQ ports are not open on the server.
  • The client is unable to communicate with the server's scheduler.
  • The IBM RPA server and client are not installed on the same subnet.

Resolving the problem

Follow the steps below to resolve scheduling and orchestrating problems if you are using Microsoft Message Queueing (MSMQ) as your system queue provider.

Install MSMQ

Make sure that you have Microsoft Message Queueing (MSMQ)🡥 installed.

Check the Network ports used by Message Queueing

For more informations, see Network ports used by Message Queueing🡥.

Check if the IBM RPA server and the client are on the same subnet

Due to an MSMQ limitation, make sure that you have the IBM RPA server and the client installed on the same subnet.

Reinstall MSMQ

If you are still having problems with scheduling and Message Queueing is installed but not available, try reinstalling Message Queuing in the server:

  1. From the Windows Start menu, open Server Manager.
  2. On the header bar, click Manage and select Remove Roles and Features.
  3. A new window opens on the Before You Begin page, click Next to continue.
  4. Select the Select a server from the pool option, select your server name, and click Next to continue.
  5. Under Server Roles, click Next to continue.
  6. Under Features, disable the Message Queueing option and click Next.
  7. Enable the option Restart the destination server automatically if required and click Remove.

The computer automatically restarts after removing the feature.

To reinstall the Message Queuing feature, follow these steps:

  1. From the Windows Start menu, open Server Manager.
  2. On the header bar, click Manage and select Add Roles and Features.
  3. A new window opens on the Before You Begin page, click Next to continue.
  4. Under Installation Type, select Role-based or feature-based installation and click Next.
  5. Under Server Selection, select the Select a server from the server pool option, select the server you want to use, and click Next.
  6. Under Server Roles, click Next.
  7. Under Features, enable Message Queueing and click Next.
  8. Enable the option Restart the destination server automatically if required and click Install to install the feature.