Redis causes a wrong behavior for Block Semaphore and Block Resource commands

About this task

For IBM RPA on premises only: Redis version 3.0.504 causes a wrong behavior for Block Semaphore and Block Resource commands.

The wrong behavior occurs when a script Y doesn't get the lock after script X releases it, even if it's within the timeout span. It only gets the lock if it identifies that it was released before the command ran.

Before you begin

Procedure

  1. Download and install the latest stable version External link of Redis. It works on Redis 4.0.8 version or later.
  2. Set the value KEA to the property notify-keyspace-events on Redis config file. For more information about changing Redis configuration file, see Redis configuration External link.

What to do next

For on-premises environments on Windows™, you might use a Redis instance separately in a Docker™ instance or a Linux™ machine. In this case, you need to enter the Redis instance location in the connection string while you install IBM RPA or enable it on IBM RPA Control Center. For more information, see Redis.