Not able to concatenate a string in argument

Hi Team,

I was trying to concatenate two string variables defined in argument in the argument itself. But it is giving me error as below.

arg1 - “D:/screnshots”
arg2 - empty (is defined during the flow)
arg3 -string.Concat(arg1,arg2)

but arg3 gives error as “arg1 is not declared. It may be inaccessible due to its protection level. arg2 is not declared. It may be inaccessible due to its protection level”

Can you please suggest on this.

Thanks,
Shruti

Hi,

You can use + to concatenate two string

Regards,
Amit Anand

Tried with + as well. Getting the same error.

Hi,

Check if you have declared arg2 and arg 3 correctly and what is there scope

Regards,
Amit