Invoke Workflow doesn't automatically pick up arguments with the same name

This used to work. Now when I click “refresh arguments” it doesn’t automatically fill in arguments where the variable has the same name. Little things like this cause lots of moments of extra work that all add up. I don’t understand why you fix things that aren’t broken. The way Invoke Workflow worked before was just fine.

UiPath.System.Activities 24.10.7

Hi @postwick

Would a small video be possible? Or a bit more details.

I tested with Studio 25.0.161 and System 24.10.7 and it worked just fine:

I assume it might be a bug in an older Studio version, but would be a bit surprised about it.

More details will help us track down the real cause of the issue :slight_smile:

I’m on Studio 23.4. I don’t have a way to record a video but I figured out the exact issue.

It does work when the variable in the main workflow is just a variable. It doesn’t work when the variable in the main workflow is an argument. Basically I have main.xaml invoking a workflow and passing a variable to an “in” argument in sub.xaml. Then sub.xaml invokes yet another workflow and passes its “in” argument as an “in” argument to subsub.xaml.

Steps to reproduce

  • Create argument in main.xaml
  • Create argument in sub.xaml with same name as argument in main.xaml
  • Drag sub.xaml into main.xaml to generate Invoke Workflow and click refresh arguments

Sub:

Main:

Result:

1 Like

Thank you, that was easy to reproduce. I noted it as a bug in our Jira backlog for further handling.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.