I have followed the steps mentioned in the walk-through of the assignment until page 10. When I tried to run the debug file, it display the following error:
“Open browser: Value does not fall within the expected range.”
Can anyone let me know where are the possible mistake that I have done?
Please upload the complete the assignment. You’ve only uploaded the Main.xaml as such we won’t be able to open the Invoked workflows, particularly the System1_Login.xaml which is where the issue is most likely occurring.
Right now here are my possible causes for the issue:
Invalid browser used, although as you’ve mentioned you’re using IE, so this is an unlikely cause.
Most likely cause, is the argument used in the value for the URL in the open browser. Meaning that whichever argument you used (commonly System1_URL) was not configured properly.
Try uploading the entire assignment folder so that I can check properly.
Good day @yong19, sorry for the late reply. I got a bit busy with work yesterday.
Anyway I was able to debug your process and found the cause of the issue.
Solution:
Navigate to SHAH1_Open
Delete variable in_SHAH1_URL, you only need the the argument in_SHAH1_URL.
The reason for the issue: The workflow exeuction will take the variable over the argument first, as they both had the same name, but the variable in_SHAH1_URL had no value as the invoked SHAH1_Open will set the value in_Config(“in_SHAH1_URL”).ToString to the argument not the variable.