Hi
Can someone help! getting error in process.xaml - Navigate to work Item, invoke workflow file.
PFA the error message, parameters passed to workflow & arguments
Could you please try to log System1_URL and in_WIID arguments value inside NavigateToWorkID file just before AttachBrowser activity.
This type of exception generally comes when you’re using any variable without initializing/defining a value in it.
Please try below steps and let me know if it addresses your issue -
System1_NavigateTo_WIDetails.xaml:
Navigate to in argument “in_System1_URL”:
Process.xaml:
Invoke “System1_NavigateTo_WIDetails.xaml”. Here, provide value for the in_System1_URL as
value= in_Config(“System1_URL”).ToString+“work-items/”+in_TransactionItem(“WIID”).ToString
@singhonkar @dhananjayk
Thanks for your help!
Still unable to clear the error in navigate_to_workitem
Hi,
In the Config File for the URL, do you have a “/” at the end of the URL? If not, you may need to add one there as you are appending “work items/” or you could try appending “/work items/”.
Have you tried writeline activity for logging of both input arguments to that xaml file.
Looking at your output window, couldn’t able to see those values.The entire navigate URL should be like this
https://acme-test.uipath.com/work-items/599871
Yes will try appending “/work items/”
let me check @singhonkar
URL ends with “/”
still error persists…control not passing to navigate_to_workitem.
Attaching
- Error
- Process workflow with arg
- Navigate to next item workflow with arg
Hi @preeharris,
Based on your screenshot it’s showing object reference error,
Check the config did you created object, because I am seeing 2 configs are there.
Can you check on that
Regards,
Arivu
Hi
Can you send across the workflow file so I can see the logic?
The error you are getting suggests that WIID has no value.
Have you performed a data scrape and generated a data table from it then pulled out the value under the WIID column?
Thanks
Still the error is being thrown
Please add two writeline activities before Invoking System1_Navigate_to_WIID_Workflow just to make ensure that these two arguments have any value or not.
If yes, then please share screenshot of output window. From there, we’ll be able to track down the issue.
This means that there is issue with system1_url key.
Can you please check once in your excel config file and verify the key name for this.
Is your login into this website working fine ??
Also, please share your main.xaml file. I’ll go through it and get back to you.
HI @preeharris,
Based on the screenshot “in_TransactionItem” data type is datarow,
make sure you are assigning the value. before passing,
i hope you have used same variable name in the variable tab as well as the argument name.
The first priority is goes to variable only.
please don’t use variable name and argument names are same
Regards,
Arivu
ok will check & update