Invoke Workflow path question

Hi,
In my processFolder, I have Main.xaml

I have a subfolder “sub”, which has two files one.xaml and two.xaml
one.xaml is calling two.xaml with invoke workflow.

Can I just use Involeworkflow with two.xaml?
Or do I have to include the subfolder in the path sub\two.xaml?

Thank you,

@A_Learner

image

Click on the browse for file icon, from there you can select the folder and the file which is inside it. Then the path will come there.

In your case two.xaml is inside the sub folder so it will be like sub\two.xaml

You don’t have to do anything. If the only thing inside one.xaml is an Invoke Workflow for two.xaml this would be very bad design. Just Invoke two.xaml.

1 Like

I have other code besides invoking two.xaml
However when I invoke two.xaml from one.xaml, it reverts to the path sub2\two.xaml even though they both are in the same folder. Why?

Thank you,

Because the context everything is running in is the main project folder, not the subfolder the XAML file is in.

1 Like

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