Hello everyone , please help to solve this problem . I want to pass right value from Config file . Thank you so much
Hello @hmduy
You are trying to pass an String value to Integer Arguments.
in_Config(“LowerBound”).ToString - This will return you the string result.
Try the below :
Cint(in_Config(“LowerBound”).ToString)
Perform the same for all where you’re getting error .
Also for in_OutputPath as you have given direction as In/Out you need to pass a variable which can hold the value coming out.
Use Assign activity and assign OutputPath = in_Config(“OutputPath”).ToString, then pass this OutputPath in invoke workflow.
Hello @hmduy
Here you have created Int32 arguments and you are passing the string values. That is why you are getting this error. So you need to convert the value to Interger. You can check the below.
Cint(in_Config(“LowerBound”).ToString)
Or
Convert.ToInt32(in_Config(“LowerBound”).ToString)
Or
Integer.Parse(in_Config(“LowerBound”).ToString)
Thanks