.xaml file path not found while executing the workflow



I’m trying to invoke a module using “invoke workflow file” activity. I have selected the xaml file from the browse option.
Im able to open the invoked file by pressing right clicking on the activity -> and then selecting ‘open workflow’ option.

However while executing the workflow it is giving an error.
Error details - System.IO.DirectoryNotFoundException: Could not find a part of the path

Can anyone help me with this please.


Just make sure child and parent .xaml are in same project folder.


Unfortunately that doesn’t work for shared libraries where the workflows are used across multiple projects.
If we made copies of every library workflow it becomes a maintenance nightmare.

Has anyone solved how to invoke a workflow file, and have it included when publishing.

Thanks for answering all