Support Portal

for ProcessRobot and WinAutomation

Start a new topic
Answered

zero array values

Hi,


In my process I gotta check a variable (array) is empty or not. If it's empty, then it has go to install activity or else it should continue the process. Please help me with a solution.



Thanks in advance.





Best Answer

You can test that a list variable has no items, as follows


If %ListVar.Count% = 0

  .... it is an empty list variable


This action has an "is empty" option:


image


yeah i tried the same even that is not working.

Can you please suggest some other ways?

Answer

You can test that a list variable has no items, as follows


If %ListVar.Count% = 0

  .... it is an empty list variable

Login or Signup to post a comment