I created 3 .xaml plugins (Reqd_CSV, READ_DB, READ_EXCEL). Now I’m trying to assign workflowPath = configJObject(“Plugins”)(str_InputType).ToString. It is throwing a system.InvalidOperationException. Says it can’t find workflowPath.xaml workflow. How can I fix this please?
Hi @pateswanaw
Make sure the XAML file really exists in your project folder. Sometimes it gets moved or renamed without noticing.
Re‑select the file using the Browse button instead of typing the path manually.
From the error, it looks like some error in the expression itself. Have to ran in debug mode and it is returning valid value in runtime.
Also, is your config object a json object? , then you can try ConfigJObject.SelectToken(“Plugins.”+inputType).ToString
Hi @pateswanaw
The error is not with the assignment itself, but with the resolved path. Fix the config mapping, ensure correct folder structure, and use Path.Combine to make the path robust.
If Solution works for you please mark as Solution ,
Happy Automation with UiPath
Thanks