I recently tried to upgrade my project dependencies to latest UiPath.System.Activities 24.10.6, but I’m terrified with the usage of Invoke Workflow file activity in this version.
Import Argument button has disappeared and only option I found how to Invoke Workflow file with arguments is to manually add entry one-by-one.
You are indeed missing something, thats not the intended way for it to work and, in my opinion, this updated way is better as the previous ‘Import Arguments’ button would change your arguments (if they weren’t matching) meaning you couldnt see what they were etc making sometimes finding errors confusing.
This new way should give better control and the refresh arguments option should indeed just populate the collection there with the correct arguments.
Can you perhaps try on a totally fresh project to start isolating some issues that might be causing the arguments to not be populated correctly?
In the latest Studio update, clicking on “Refresh Arguments” will automatically display all the arguments in the key field. This function works similarly to the previous “Import Arguments” feature, but with an update to refresh the arguments instead. It will automatically match the variables to the arguments based on their names sometimes.
If no arguments are displayed after clicking “Refresh Arguments,” save the entire project first and then try clicking “Refresh Arguments” again. The arguments will be displayed automatically.
Thanks for the demonstration, this is how I thought it’s supposed to work and it looks awesome
Problem is in my project then, I migrated it from windows-legacy to windows together with the dependencies update, and something probably got broke during this process. As I said, Refresh arguments button in not displaying the workflow arguments (just removes all created manually…)
I’ll try with new project and investigate it further.