# Issue when invoking a process

**URL:** <https://forum.uipath.com/t/issue-when-invoking-a-process/512327>\
**Category:** Studio\
**Tags:** activities-panel, question, studio, system, activities\
**Created:** [January 31, 2023, 9:53am UTC](https://forum.uipath.com/t/issue-when-invoking-a-process/512327 "2023-01-31T09:53:48Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![aquinn](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/aquinn/32/190654_2.png) [@aquinn](https://forum.uipath.com/u/aquinn)\
**Post date:** [January 31, 2023, 9:53am UTC](https://forum.uipath.com/t/issue-when-invoking-a-process/512327/1 "2023-01-31T09:53:48Z")

</div>

Hello, I am invoking a workflow into another and am running into this error

 ![image](https://global.discourse-cdn.com/uipath/original/4X/7/6/6/76680418d7df515662130cca0d41dc9def5ee6f7.png)

Both of the pathways exist, and the package dependencies also match, why could this be happening?

---

<div class="post-metadata">

**Author:** ![Anil\_G](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/anil_g/32/524291_2.png) [@Anil\_G](https://forum.uipath.com/u/Anil_G)\
**Post date:** [January 31, 2023, 10:00am UTC](https://forum.uipath.com/t/issue-when-invoking-a-process/512327/2 "2023-01-31T10:00:26Z")

</div>

@aquinn

Are you trying to invoke another project or process from one?

If yea then it shpuld be done through start process or start job not using invoke workflow…

If you still want to invoke using samae…then copy the workflow into the same project folder and then invoke using invoke workflow

Cheers

---

<div class="post-metadata">

**Author:** ![aquinn](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/aquinn/32/190654_2.png) [@aquinn](https://forum.uipath.com/u/aquinn)\
**Post date:** [January 31, 2023, 10:03am UTC](https://forum.uipath.com/t/issue-when-invoking-a-process/512327/3 "2023-01-31T10:03:04Z")

</div>

I used workflow as it invokes arguments passed between, its a process from another project e.g. im running pathway/files/Invoke.xaml within a robot in pathway/someWhereElse/Main.xaml - can i not do this?

---

<div class="post-metadata">

**Author:** ![Anil\_G](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/anil_g/32/524291_2.png) [@Anil\_G](https://forum.uipath.com/u/Anil_G)\
**Post date:** [January 31, 2023, 10:06am UTC](https://forum.uipath.com/t/issue-when-invoking-a-process/512327/4 "2023-01-31T10:06:15Z")

</div>

@aquinn

No you cannot do this using invoke workflow file…

It is used to invoke the workflow from the same project…

If its a different project ideally it means it aa separte process so you have to use start job activity

> **[Start Job And Get Reference](https://docs.uipath.com/activities/docs/start-job-and-get-reference)**
>
> UiPath.Persistence.Activities.Job.StartJobAndGetReference Description Invokes a Job in Orchestrator with arguments and fetches the corresponding job object in order to wait for job completion at any time during the execution of the workflow. If your...

You can use invoke process as well

> **[Invoke Process](https://docs.uipath.com/activities/docs/invoke-process)**
>
> UiPath.Core.Activities.InvokeProcess Description Executes a UiPath process that is available for the local machine. Can be used to run local packages, as well as processes in Orchestrator, if a connection is available. For more information on how to...

It should be inside the same project to use invoke workflow

 ![image](https://global.discourse-cdn.com/uipath/original/4X/e/0/2/e0203d845f728b84cd5df367a19acd05aa494618.jpeg)

Cheers

---

<div class="post-metadata">

**Author:** ![aquinn](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/aquinn/32/190654_2.png) [@aquinn](https://forum.uipath.com/u/aquinn)\
**Post date:** [January 31, 2023, 10:12am UTC](https://forum.uipath.com/t/issue-when-invoking-a-process/512327/5 "2023-01-31T10:12:37Z")

</div>

Is there any way I can pass arguments between the two even though they are in two different file locations?

---

<div class="post-metadata">

**Author:** ![Anil\_G](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/anil_g/32/524291_2.png) [@Anil\_G](https://forum.uipath.com/u/Anil_G)\
**Post date:** [January 31, 2023, 10:13am UTC](https://forum.uipath.com/t/issue-when-invoking-a-process/512327/6 "2023-01-31T10:13:33Z")

</div>

@aquinn

You can write those value to assets and then read them…

or you can write it to a file and read them as needed

cheers

---

<div class="post-metadata">

**Author:** ![aquinn](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/aquinn/32/190654_2.png) [@aquinn](https://forum.uipath.com/u/aquinn)\
**Post date:** [January 31, 2023, 10:16am UTC](https://forum.uipath.com/t/issue-when-invoking-a-process/512327/7 "2023-01-31T10:16:38Z")

</div>

As in other robots i can use invoke workflow and call upon a robot in a different file location but in this instance it does not work…

for example  
 ![image](https://global.discourse-cdn.com/uipath/original/4X/e/1/b/e1b4ea3333b624306327541a098898b1fedf249b.png)

this file is stored in t:\ and i am invoking it into a robot in a drive storing in P:\ and it works?

---

<div class="post-metadata">

**Author:** ![Anil\_G](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/anil_g/32/524291_2.png) [@Anil\_G](https://forum.uipath.com/u/Anil_G)\
**Post date:** [January 31, 2023, 10:19am UTC](https://forum.uipath.com/t/issue-when-invoking-a-process/512327/8 "2023-01-31T10:19:38Z")

</div>

@aquinn  
Is that process from an older version?

Cheers

---

<div class="post-metadata">

**Author:** ![aquinn](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/aquinn/32/190654_2.png) [@aquinn](https://forum.uipath.com/u/aquinn)\
**Post date:** [January 31, 2023, 10:20am UTC](https://forum.uipath.com/t/issue-when-invoking-a-process/512327/9 "2023-01-31T10:20:20Z")

</div>

Potentially yes, is this a new versioning issue? as i would like to call from a function stored elsewhere so i can reuse it in development opposed to re creating it everytime

---

<div class="post-metadata">

**Author:** ![Anil\_G](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/anil_g/32/524291_2.png) [@Anil\_G](https://forum.uipath.com/u/Anil_G)\
**Post date:** [January 31, 2023, 10:21am UTC](https://forum.uipath.com/t/issue-when-invoking-a-process/512327/10 "2023-01-31T10:21:43Z")

</div>

@aquinn

Yes …in the new version…calling from another project and variablizing is disabled…

You can copy the xaml or create a library out of this and use it as an activity

Or use start job/invoke process activity to start the other process

Cheers

---

<div class="post-metadata">

**Author:** ![aquinn](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/aquinn/32/190654_2.png) [@aquinn](https://forum.uipath.com/u/aquinn)\
**Post date:** [January 31, 2023, 10:23am UTC](https://forum.uipath.com/t/issue-when-invoking-a-process/512327/11 "2023-01-31T10:23:39Z")

</div>

Oh… thats unfortunate that theyve stopped this functionality ☹

thank you

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/system/32/182466_2.png) [@system](https://forum.uipath.com/u/system)\
**Post date:** [February 3, 2023, 10:24am UTC](https://forum.uipath.com/t/issue-when-invoking-a-process/512327/12 "2023-02-03T10:24:09Z")

</div>

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