Why it shows error when I use variables for workflow file in invoke workflow activity

workflow

error

Why, how to fix it?

Hi,

Unfortunately, we cannot use variable at WorkflowFilename property of InvokeWorkflowFile activity in Windows/Crossplatform project.

Please check the following document in details.

https://docs.uipath.com/activities/other/latest/user-guide/invoke-workflow-file

Regards,

2 Likes

any solution to run another workflow, the workflow file name is variables.

Hi,

As a workaround, how about using switch/if and invokeWorkflow with static filename as the following?

image

Or if you can use Windows-legacy project, it may help you.

Regards,

1 Like

thank you, yes, i will use switch function to do it.

1 Like

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