Skip to main content
Question

How to set up counters in a robot

  • Jun 19, 2024 3:55 PM UTC
  • 1 reply
  • 150 views

I want to set up 2 counters in a robot in automation anywhere:
1: number of requests that can be processed by the rpa
2: number of requests processed

1 reply

Forum|alt.badge.img
  • Flight Specialist | Tier 4
  • Jun 21, 2024 2:03 PM UTC

First, you need two number variables.

Next, you will need a IF condition inside your loop where you use some criteria to determine if the BOT processed the request or not.

Increment “number of requests” variable at the top of you loop (not inside your IF)

Inside the IF (meaning it processed the request), increment the variable that counts records processed.