When trying to use input variable (set to "number") with "Wait", I get the following error message:
Timeout values can only be in the range 0 to 2147483 seconds.
I am trying to prompt for end user to input duration in seconds, and use that input as a numeric variable for "Wait".
Any examples or work arounds please, thank you.
Solved! Go to Solution.
Hi @cmerenuk52 ,
The Wait action supports Timeout values range 0 to 2147483 seconds.
I think ~24 days as input is sufficient. Better you add validation for input value to avoid the error.
@VJR Set Variable supports > 2147483 input value(i checked it). The error was because of Wait action.
The input value must fall within the range 0 to 2147483.
Let me know if any queries.
If you like my response, please give it a Thumbs Up.
If this helps, please Accept as solution.
The bug does exist.
When asked to the user for an Input and if that Input variable is passed to the Wait action it throws an error.
I entered 5 in the Input dialog which is a valid number between 0 to 2147483 and even then throws the below error.
I get this, note that it is not a runtime error:
Maybe you have an older version where that was possible, but you had to convert the user's input to a number before using it in the 'Wait' action?
Hi @VJR ,
First, I agree bug does exist.
I am not getting the same error which you have mentioned in last post. Please the below screenshot. But it works fine with + 0(after converting to number).
My guess is that the input box is coming back as text for the variable. Therefore, if you cannot change the variable type in your input box, then have the next action be “convert text to number” and then use that variable (the number variable) instead of the input variable as your Wait parameter.
best of luck!