# \#invoke-workflow

**URL:** https://forum.uipath.com/tag/invoke-workflow/1893.md

[Latest](https://forum.uipath.com/latest.md) · [Categories](https://forum.uipath.com/categories.md) · [Tags](https://forum.uipath.com/tags.md)

---

## [UiPath Pitfall of the Week #4: A variable with the same name as your argument](https://forum.uipath.com/t/uipath-pitfall-of-the-week-4-a-variable-with-the-same-name-as-your-argument/5786751)

<div class="topic-metadata">

**Author:** [@pravinraj.vincent](https://forum.uipath.com/u/pravinraj.vincent)\
**Replies:** 3\
**Last updated:** [October 29, 2026, 7:02pm UTC](https://forum.uipath.com/t/uipath-pitfall-of-the-week-4-a-variable-with-the-same-name-as-your-argument/5786751 "2026-10-29T19:02:13Z")

</div>

This came up again this week in Out param Nothing when leaving Do, and it’s one of those bugs that makes you doubt Studio itself. You assign a value to your Out argument, a Message Box right after says it’s filled, and t…

---

## [Cannot pass arguments values in Invoke Workflow - Windows version of ReFramework](https://forum.uipath.com/t/cannot-pass-arguments-values-in-invoke-workflow-windows-version-of-reframework/5744006)

<div class="topic-metadata">

**Author:** [@punya](https://forum.uipath.com/u/punya)\
**Replies:** 3\
**Last updated:** [May 5, 2026, 8:35am UTC](https://forum.uipath.com/t/cannot-pass-arguments-values-in-invoke-workflow-windows-version-of-reframework/5744006 "2026-05-05T08:35:38Z")

</div>

Hi all, I’m working on a REFramework UiPath project with the project type set to ‘Windows’. Within this project, I’m using an ‘Invoke Workflow File’ activity. In the invoked workflow, I recently added a new ‘input argum…

---

## [Invoke Workflow, Unexpected error has occurred during the library compilation process: The given key '' was not present in the dictionary](https://forum.uipath.com/t/invoke-workflow-unexpected-error-has-occurred-during-the-library-compilation-process-the-given-key-was-not-present-in-the-dictionary/4985038)

<div class="topic-metadata">

**Author:** [@ConorSmalley](https://forum.uipath.com/u/ConorSmalley)\
**Replies:** 3\
**Last updated:** [September 2, 2025, 12:24pm UTC](https://forum.uipath.com/t/invoke-workflow-unexpected-error-has-occurred-during-the-library-compilation-process-the-given-key-was-not-present-in-the-dictionary/4985038 "2025-09-02T12:24:42Z")

</div>

I have the 2 below workflows, when I run Orchestrator - Storage - Download File.xaml it works fine without any issues, when I run Main.xaml I get the below error 23.10.3+Branch.support-v23.10.Sha.ceeb2a4c480c2b7a4d12600…

---

## [『ワークフローファイルを呼び出し』で DataTable 型の変数を渡すと Null になる場合とならない場合がある](https://forum.uipath.com/t/datatable-null/746563)

<div class="topic-metadata">

**Author:** [@system](https://forum.uipath.com/u/system)\
**Replies:** 0\
**Last updated:** [June 10, 2024, 8:41am UTC](https://forum.uipath.com/t/datatable-null/746563 "2024-06-10T08:41:09Z")

</div>

:white\_question\_mark: Question 『ワークフローファイルを呼び出し』アクティビティで DataTable 型の変数を渡すと、渡した先のワークフローで Null になる場合とならない場合があります。下図例のような値を入力した Excel ファイルを読み込んで DataTable 型の変数へ変換しています。原因と回避策を教えてください。 なお、ワークフロー内に配置している主なアクティビティのプロパティ設定…

---

## [Invoke Workflow Activity does not load arguments](https://forum.uipath.com/t/invoke-workflow-activity-does-not-load-arguments/2753623)

<div class="topic-metadata">

**Author:** [@RSalamow](https://forum.uipath.com/u/RSalamow)\
**Replies:** 4\
**Last updated:** [March 13, 2025, 11:50am UTC](https://forum.uipath.com/t/invoke-workflow-activity-does-not-load-arguments/2753623 "2025-03-13T11:50:25Z")

</div>

When I try to use invoke workflow activity, argument values does not load. The only option is type argument name exactly and select type manually for each argument. How can I resolve it? Environement Info: UiPath…

---

## [JIT compilation is disabled for non-Legacy projects. Uipath Studio](https://forum.uipath.com/t/jit-compilation-is-disabled-for-non-legacy-projects-uipath-studio/790118)

<div class="topic-metadata">

**Author:** [@nona](https://forum.uipath.com/u/nona)\
**Replies:** 7\
**Last updated:** [March 11, 2025, 2:21am UTC](https://forum.uipath.com/t/jit-compilation-is-disabled-for-non-legacy-projects-uipath-studio/790118 "2025-03-11T02:21:55Z")

</div>

Hi, I am trying to run a studio project .json which I have modified but I get the following errors while trying to invoke the Main\_Process workflow in which I have the whole process flow. I 've got the UiPath Studio…

---

## [Error: Cannot set unknown member '{http://schemas.microsoft.com/netfx/2009/xaml/activities}VisualBasic.Settings'](https://forum.uipath.com/t/error-cannot-set-unknown-member-http-schemas-microsoft-com-netfx-2009-xaml-activities-visualbasic-settings/783689)

<div class="topic-metadata">

**Author:** [@ljones](https://forum.uipath.com/u/ljones)\
**Replies:** 1\
**Last updated:** [December 4, 2024, 11:49am UTC](https://forum.uipath.com/t/error-cannot-set-unknown-member-http-schemas-microsoft-com-netfx-2009-xaml-activities-visualbasic-settings/783689 "2024-12-04T11:49:41Z")

</div>

Hi all. I created a workflow in Studio and saved it as a template, and I’m trying to add it to an older workflow on a different PC. When I debug and try to run the invoke workflow activity I get the error: Invoke Main…

---

## [Change of arguments in Invoke Workflow should give error at compile time](https://forum.uipath.com/t/change-of-arguments-in-invoke-workflow-should-give-error-at-compile-time/747964)

<div class="topic-metadata">

**Author:** [@ashokkarale](https://forum.uipath.com/u/ashokkarale)\
**Replies:** 2\
**Last updated:** [November 8, 2024, 2:46pm UTC](https://forum.uipath.com/t/change-of-arguments-in-invoke-workflow-should-give-error-at-compile-time/747964 "2024-11-08T14:46:44Z")

</div>

When I change argument name or add new argument to child workflow resulting in only orange highlight on argument count. If I missed to check the reference of the workflow where it’s invoked, this gets smoothly deploy…

---

## ["Open Workflow" button is not working some times](https://forum.uipath.com/t/open-workflow-button-is-not-working-some-times/700161)

<div class="topic-metadata">

**Author:** [@pere](https://forum.uipath.com/u/pere)\
**Replies:** 4\
**Last updated:** [October 21, 2024, 10:05am UTC](https://forum.uipath.com/t/open-workflow-button-is-not-working-some-times/700161 "2024-10-21T10:05:09Z")

</div>

I didn’t experience this before; now I’m suffering from it since the last 48 h or so. When I click on the “Open workflow” button, it opens nothing some of the times; only a blank window. Today it’s happening quite often…

---

## [Ability to use expressions/variables for WorkflowFileName in an InvokeWorkflowFile Activity](https://forum.uipath.com/t/ability-to-use-expressions-variables-for-workflowfilename-in-an-invokeworkflowfile-activity/724290)

<div class="topic-metadata">

**Author:** [@ArunDavuluri](https://forum.uipath.com/u/ArunDavuluri)\
**Replies:** 2\
**Last updated:** [March 5, 2024, 4:16am UTC](https://forum.uipath.com/t/ability-to-use-expressions-variables-for-workflowfilename-in-an-invokeworkflowfile-activity/724290 "2024-03-05T04:16:56Z")

</div>

Hi folks, In Legacy Projects, we had the ability to use variables or expressions as the WorkflowFileName when using an InvokeWorkflowFile activity. I no longer see this as an option in Windows Projects. I believe this …

---

## [Invoke Workflow file. The given key ... was not present in the dictionary](https://forum.uipath.com/t/invoke-workflow-file-the-given-key-was-not-present-in-the-dictionary/713974)

<div class="topic-metadata">

**Author:** [@titatarik](https://forum.uipath.com/u/titatarik)\
**Replies:** 4\
**Last updated:** [January 22, 2024, 9:39am UTC](https://forum.uipath.com/t/invoke-workflow-file-the-given-key-was-not-present-in-the-dictionary/713974 "2024-01-22T09:39:00Z")

</div>

Hi, I have a problem with the “invoke Workflow File”-activity since upgrading from Windows-legacy to Windows. It keeps saying that the given Key is not available. Although I have not changed the file or the path and it i…

---

## [Value of arguments when invoking workflow](https://forum.uipath.com/t/value-of-arguments-when-invoking-workflow/704775)

<div class="topic-metadata">

**Author:** [@healsko\_ho](https://forum.uipath.com/u/healsko_ho)\
**Replies:** 1\
**Last updated:** [December 7, 2023, 8:08am UTC](https://forum.uipath.com/t/value-of-arguments-when-invoking-workflow/704775 "2023-12-07T08:08:35Z")

</div>

@loginerror @Pablito Hi, When using activity ‘Invoke workflow’, some unexpected results come out regarding on the arguments value. Studio: 2022.4.6 Enterprise Dependencies: UiPath.System.Activities = 22.4.5 Here are…

---

## [Invoke Workflow File: Exception has been thrown by the target of an invocation](https://forum.uipath.com/t/invoke-workflow-file-exception-has-been-thrown-by-the-target-of-an-invocation/669188)

<div class="topic-metadata">

**Author:** [@mateusz.wojcik](https://forum.uipath.com/u/mateusz.wojcik)\
**Replies:** 4\
**Last updated:** [October 31, 2023, 8:59am UTC](https://forum.uipath.com/t/invoke-workflow-file-exception-has-been-thrown-by-the-target-of-an-invocation/669188 "2023-10-31T08:59:54Z")

</div>

Hi, In one of my project I receive the following error when I try to invoke a workflow “Invoke Workflow File: Exception has been thrown by the target of an invocation.” It does not matter which workflow I use. This er…

---

## [Error while trying to invoke a workflow](https://forum.uipath.com/t/error-while-trying-to-invoke-a-workflow/540895)

<div class="topic-metadata">

**Author:** [@darie.leolea](https://forum.uipath.com/u/darie.leolea)\
**Replies:** 3\
**Last updated:** [October 27, 2023, 10:00am UTC](https://forum.uipath.com/t/error-while-trying-to-invoke-a-workflow/540895 "2023-10-27T10:00:53Z")

</div>

Hello, I have a process which is legacy (maybe this is important) that invokes different workflows. Until now everything worked fine, but when I try to invoke a process which is windows based I get the following error “…

---

## [Invoke workflow error: Wrong workflow running](https://forum.uipath.com/t/invoke-workflow-error-wrong-workflow-running/573570)

<div class="topic-metadata">

**Author:** [@mshep](https://forum.uipath.com/u/mshep)\
**Replies:** 4\
**Last updated:** [August 17, 2023, 6:55pm UTC](https://forum.uipath.com/t/invoke-workflow-error-wrong-workflow-running/573570 "2023-08-17T18:55:16Z")

</div>

I’m having an issue with the invoke workflow activity. I have a few workflow files with invoked workflows in them, and all but one are working correctly. The one workflow that is not working is running the invoked workfl…

---

## [In Activity "Invoke Workflow file" why variables are not supported?](https://forum.uipath.com/t/in-activity-invoke-workflow-file-why-variables-are-not-supported/550663)

<div class="topic-metadata">

**Author:** [@Omkar\_Deshmukh](https://forum.uipath.com/u/Omkar_Deshmukh)\
**Replies:** 9\
**Last updated:** [June 25, 2023, 7:13am UTC](https://forum.uipath.com/t/in-activity-invoke-workflow-file-why-variables-are-not-supported/550663 "2023-06-25T07:13:17Z")

</div>

Some use case needs to interact with multiple application and in such condition each application has its own way to handle the transaction and we can’t build one workflow for every application with there n no validations…

---

## [How to use same Workflows at different Windows Projects](https://forum.uipath.com/t/how-to-use-same-workflows-at-different-windows-projects/553654)

<div class="topic-metadata">

**Author:** [@AhmetALTIN](https://forum.uipath.com/u/AhmetALTIN)\
**Replies:** 5\
**Last updated:** [June 13, 2023, 1:00pm UTC](https://forum.uipath.com/t/how-to-use-same-workflows-at-different-windows-projects/553654 "2023-06-13T13:00:02Z")

</div>

Hi everyone, i have a problem which i can’t resolve for 2 weeks, let me explain my problem. I have 2 different on-prem ochestrator. One of is product (only 1 robot license) other one is studio (only 1 developer license)…

---

## [Compile Error When Invoking Workflow From Another Project](https://forum.uipath.com/t/compile-error-when-invoking-workflow-from-another-project/545968)

<div class="topic-metadata">

**Author:** [@Keith\_Lewis](https://forum.uipath.com/u/Keith_Lewis)\
**Replies:** 2\
**Last updated:** [May 18, 2023, 5:17am UTC](https://forum.uipath.com/t/compile-error-when-invoking-workflow-from-another-project/545968 "2023-05-18T05:17:54Z")

</div>

I have created a workflow in Project A. I am trying to invoke that workflow in Project B but get an error stating: Unexpected error has occurred during the library compilation process: The given key ‘C:\\Users\\D…L\\Docum…

---

## [Dynamic Workflow Selection not working after update](https://forum.uipath.com/t/dynamic-workflow-selection-not-working-after-update/483139)

<div class="topic-metadata">

**Author:** [@matias.lynch](https://forum.uipath.com/u/matias.lynch)\
**Replies:** 18\
**Last updated:** [January 17, 2023, 1:53pm UTC](https://forum.uipath.com/t/dynamic-workflow-selection-not-working-after-update/483139 "2023-01-17T13:53:52Z")

</div>

Hey, Before upgrading to UiPath 2022.10.1, I had a lot of processes in which I invoked different workflows depending on some conditions. I did this with a kind of dynamic call to these workflows, like this: (“bej” is…

---

## [How to invoke a Flowchart workflow in my Reframework](https://forum.uipath.com/t/how-to-invoke-a-flowchart-workflow-in-my-reframework/506122)

<div class="topic-metadata">

**Author:** [@Ruchita\_Patil](https://forum.uipath.com/u/Ruchita_Patil)\
**Replies:** 3\
**Last updated:** [January 10, 2023, 2:34pm UTC](https://forum.uipath.com/t/how-to-invoke-a-flowchart-workflow-in-my-reframework/506122 "2023-01-10T14:34:08Z")

</div>

Hi, I have created a workflow using a flow chart activity which consists of multiple workflow files being invoked in Main Xaml (Say Xaml A) Now I want to invoke this Xaml A in a Reframework, using Invoke workflow activi…

---

## [How to set multiple entry points?](https://forum.uipath.com/t/how-to-set-multiple-entry-points/460416)

<div class="topic-metadata">

**Author:** [@Rahul\_Unnikrishnan](https://forum.uipath.com/u/Rahul_Unnikrishnan)\
**Replies:** 0\
**Last updated:** [July 28, 2022, 11:18am UTC](https://forum.uipath.com/t/how-to-set-multiple-entry-points/460416 "2022-07-28T11:18:37Z")

</div>

Hello, Do you know the steps for adding multiple entry points for an RPA process? If not you can go through the below video. Usually, in the UiPath process, the execution will start from Main.xaml and it’s a good pract…

---

## [An 'invoke' question of deployment in OC](https://forum.uipath.com/t/an-invoke-question-of-deployment-in-oc/451454)

<div class="topic-metadata">

**Author:** [@Rale](https://forum.uipath.com/u/Rale)\
**Replies:** 1\
**Last updated:** [June 28, 2022, 4:36pm UTC](https://forum.uipath.com/t/an-invoke-question-of-deployment-in-oc/451454 "2022-06-28T16:36:11Z")

</div>

I try to build a framework for serveral RPAs. Like below: Root\\RPA01\\main.xaml – Read and write database. The user name and password are get from ‘..\\RPA02\\getaccount.xaml’ via ‘invoke workflow’ activity. Root\\RPA02\\g…

---

## [About Recursive InvokeWorkflow](https://forum.uipath.com/t/about-recursive-invokeworkflow/443593)

<div class="topic-metadata">

**Author:** [@mikoshibakyu](https://forum.uipath.com/u/mikoshibakyu)\
**Replies:** 1\
**Last updated:** [May 30, 2022, 2:47am UTC](https://forum.uipath.com/t/about-recursive-invokeworkflow/443593 "2022-05-30T02:47:30Z")

</div>

In version \[2022.4\], is it no longer possible to use InvokeWorkflow to invoke a Workflow that is above me or my own Workflow? I had built a sequence in \[2020.4\] that recursively invoked and processed my own Workflow wit…

---

## [How to Get Trigger Scope to Repeat Actions that includes Invoke Process?](https://forum.uipath.com/t/how-to-get-trigger-scope-to-repeat-actions-that-includes-invoke-process/442707)

<div class="topic-metadata">

**Author:** [@grosner](https://forum.uipath.com/u/grosner)\
**Replies:** 0\
**Last updated:** [May 25, 2022, 6:06pm UTC](https://forum.uipath.com/t/how-to-get-trigger-scope-to-repeat-actions-that-includes-invoke-process/442707 "2022-05-25T18:06:37Z")

</div>

My Trigger Scope stops working after performing its Actions one time. This happens only when an Invoke Process is included in the Actions. The log trace shows that the Invoked Process workflow starts and ends (and it wo…

---

## [Invoke workflow not executing all activities](https://forum.uipath.com/t/invoke-workflow-not-executing-all-activities/415297)

<div class="topic-metadata">

**Author:** [@hurricane\_700](https://forum.uipath.com/u/hurricane_700)\
**Replies:** 3\
**Last updated:** [April 14, 2022, 5:52pm UTC](https://forum.uipath.com/t/invoke-workflow-not-executing-all-activities/415297 "2022-04-14T17:52:31Z")

</div>

Hi everyone, I am having trouble with a project. I am trying to invoke another workflow, and it will work for the first input dialogue and log message but it will not execute the trigger scope to start the data scraping…

---

## [My workflow works on it's own but doesn't when called from a different script](https://forum.uipath.com/t/my-workflow-works-on-its-own-but-doesnt-when-called-from-a-different-script/402333)

<div class="topic-metadata">

**Author:** [@Carl\_Tannler](https://forum.uipath.com/u/Carl_Tannler)\
**Replies:** 5\
**Last updated:** [February 25, 2022, 1:39pm UTC](https://forum.uipath.com/t/my-workflow-works-on-its-own-but-doesnt-when-called-from-a-different-script/402333 "2022-02-25T13:39:48Z")

</div>

I have a script that runs a JSON Deserialization which runs perfectly. When I try to call this script from another script I keep getting an error about not being able to deserialize the current JSON object. Now I have h…

---

## [Invoke code activity error--Help in VLookup Activity](https://forum.uipath.com/t/invoke-code-activity-error-help-in-vlookup-activity/369935)

<div class="topic-metadata">

**Author:** [@Anjali\_Rani](https://forum.uipath.com/u/Anjali_Rani)\
**Replies:** 1\
**Last updated:** [December 15, 2021, 4:55am UTC](https://forum.uipath.com/t/invoke-code-activity-error-help-in-vlookup-activity/369935 "2021-12-15T04:55:02Z")

</div>

Hello everyone , I have to compare two datatables and have to perform vlookup operation on upto 5-10 lakhs of data,If in dt1 and dt2 sku value is same then i have to replace price and quantity with dt2 value.Please find …

---

## [Invoke workflow activity pointing to non-existent filenames should be marked as errors by Workflow Analyzer](https://forum.uipath.com/t/invoke-workflow-activity-pointing-to-non-existent-filenames-should-be-marked-as-errors-by-workflow-analyzer/359783)

<div class="topic-metadata">

**Author:** [@savantsa](https://forum.uipath.com/u/savantsa)\
**Replies:** 1\
**Last updated:** [November 10, 2021, 3:59pm UTC](https://forum.uipath.com/t/invoke-workflow-activity-pointing-to-non-existent-filenames-should-be-marked-as-errors-by-workflow-analyzer/359783 "2021-11-10T15:59:31Z")

</div>

In @uipath Studio, Invoke workflow activity pointing to non-existent filenames should be marked as errors by Workflow Analyzer. The xaml file being invoked somewhere in the bot code, may have moved or been renamed (outsi…

---

## [Good coding practice](https://forum.uipath.com/t/good-coding-practice/354546)

<div class="topic-metadata">

**Author:** [@garimavarshney9](https://forum.uipath.com/u/garimavarshney9)\
**Replies:** 11\
**Last updated:** [October 20, 2021, 3:42pm UTC](https://forum.uipath.com/t/good-coding-practice/354546 "2021-10-20T15:42:29Z")

</div>

Hi, My xaml file code logic is too huge. Is it a good practice separate into multiple xaml files and use many invoke worklfows in a single xaml file. If yes, apart from readability does it improve performance as well? A…

---

## [Check if workflow is invoked or run?](https://forum.uipath.com/t/check-if-workflow-is-invoked-or-run/344657)

<div class="topic-metadata">

**Author:** [@kbak](https://forum.uipath.com/u/kbak)\
**Replies:** 1\
**Last updated:** [September 13, 2021, 5:51pm UTC](https://forum.uipath.com/t/check-if-workflow-is-invoked-or-run/344657 "2021-09-13T17:51:58Z")

</div>

Is it possible to check if a workflow is being called from an invoke or run as file? I would like to build my workflow with default variables and divergent behaviour based on whether I am testing the full project or jus…

[Next page](https://forum.uipath.com/tag/invoke-workflow/1893.md?match_all_tags=true&page=1&tags%5B%5D=invoke-workflow)
