About the Activities category

Everything about UiPath Activities.

Please tag your topic with appropriate activity package tag when asking a question, see here:
image

UiPath Activities are part of the UiPath Studio application and are designed to help you create a clear and smooth automation process. An activity can be defined as a piece of a puzzle. You need multiple activities, connected between them, to create the entire puzzle represented by the workflow. The complexity of activities varies from simply defining a variable to configuring them by using custom wizards.

Learn more about Activities in our documentation.

12 Likes

Hi All,

I have trying to convert String to Integer getting an error Message Box: Conversion from string “” to type ‘Integer’ is not valid,

Someone please help.

1 Like

Hi @Venkateswararao_Savalla

In “mes” variable there is no data stored.
If the mes = “1234” then it will convert from string to integer
by CInt(mes) expression

I hope it helps!!

2 Likes

Hi @Venkateswararao_Savalla ,\

The compiler is looking for the proper word which can be converted to Integer. The space and incorrect integer in string cannot be converted to iNTEGER.

Your method is right only value is wrong.

Root Cause is : The variable mes is empty ("") when you try to convert it using CInt(mes).

The CInt() function requires a valid numeric string (like "123"), but you’re passing an empty string, which can’t be converted to an integer.

So the Soln is that if you need the empty value then If mes is being assigned , make sure it’s not left blank.