invoke function activity
I have used Invoke Workflow File which is used to invoke .xaml file which ever place you needed, you can pass arguments.
Invoke method is just calling a method from a class.
For ex consider datatable class, it has many methods like merge, clone, clear.
You can call any of this method with Invoke method activity.