Import Arguments in the Invoke Workflow

Hello,
I have a question about the Activity “Invoke WorkflowFile”. When I use this activity in my project, it hasn’t the section Import Arguments, but have a section in which I have to insert manually the name of parameters


in the below image there is the example program that I am copying to exercise

In both programs the activity is the same: UiPath.Core.Activities.InvokeWorkflowFile

Why this happened?

Thanks a lot.

If the target XAML file has been edited but not saved, the arguments may not load properly.
Try the below mentioned steps I hope it will work.
–>Save RateCalculator.xaml (Ctrl + S)
–>Reopen the main file
–>Delete and reinsert the Invoke Workflow File activity if needed

1 Like

@luigi.a.iodice

Welcome to the community

If xaml is not saved then save it and try else If xaml is already saved the click on refresh arguments ideally it should fetch them

Cheers

I closed and opened the project, added the invoke Workflow and clicked on Refreshed Arguments. The view is the same, but in this case it has filled the collection with all the arguments of the called Workflow.

Thanks a lot.

1 Like

Sometimes, UiPath Studio doesn’t auto load arguments, and instead shows a blank argument section where you must manually type the names.

@luigi.a.iodice,

It’s could be due to differences in System package version.

Try updating the UiPath.System.Activities package to latest possible version and check.

@luigi.a.iodice

The view would be same as it is the latest view ..there has been a change in the activity layout..the purpose of it is to populate the arguments from workflow for you to the collection ..even import arguments does the same..

What you are seeing in the practice or academy video is an older version. The view is changed but the functionality is same

Hope this resolved the issue

Cheers