"Invoke Workflow File" between private workflows not working in a library project

Hello,

I’m testing a library project as below;

NewActivity.xaml calls Sequence1.xaml and Sequence1.xaml calls Sequence2.xaml.
NewActivity.xaml - public, Sequence1.xaml and Sequence2.xaml - private

When trying publish, the following errors occurred.

12:57:18.5069 => [ERROR] [UiPath.Studio] [35] Unexpected error has occurred during the library compilation process:
The following invoked workflows are missing:
C:\Users\tom.lee\OneDrive - UiPath\Documents\UiPath\NestedInvokeWorkflowFile\Sequence2.xaml
Called from the following workflows:
C:\Users\tom.lee\OneDrive - UiPath\Documents\UiPath\NestedInvokeWorkflowFile\Sequence1.xaml

It doesn’t seem that a private workflow’s calling another private workflow is working in a library project.

Anyone who faced and resolved this kind of error?
If so, please share it with me.

Thanks,

Tom

@Tom_Lee

Hello Tom,

I tried that and in my case it works without any problems, the compilation creates a NuGet package. As far as I can say works a call of a private workflow which calls another private workflow.

Best regards
Stefan

Hello Stefan,

Thanks for your reply, but you need to make PrivateSequence01 and 02 files Private.
Then the errors should come.

Thanks,

Tom

1 Like

Same problem here…

@Tom_Lee

Hello Tom,

not possible to reproduce the error with 21.4 in my case.

Start with …

image

… and extract any sequence as workflow, all private flags are set.

image

Publishing and executing works without failure.

Please share your project.

Best regards
Stefan