I have a package that i want to reuse for multiple processes. However, these processes need to have the same robots in their environments (same machine and same user) which is not possible in UiPath.
The package uses the process name to recognize if it should populate the queue or just go directly to fetching/processing the queue items …
Is there a way to get around that? i just don’t want to create two different packages
better would be control them with input argument /..for dispatcher trigger send true and performer send false ..depending on that dispatcher or only performer
I get you..you want to control dispatcher run or performer run in the process without actually letting it know you cannot right…so you need for argument
Just saying doesnt touch also would not help us in giving a better answer for you. let us know why you cannot control like that..we dont know what architectural considerations you made
or if you have different entry points for both then that also can be used
I think the issue is not clear.
The problem isn’t controling which process is dispatcher and which is performer.
The problem is: i create first process named myProcessDispatcher using my package myPackage on the environnement myEnvDispatcher. myEnvDispatcher has the robots: robot1, robot2, robot3.
Now when i try to create second process named myProcessPerformer using the same package myPackage on the environnement myEnvPerfomer (that has the robots: robot1, robot2, robot3), UiPath refuses and says :
Make sure that myPackage is not already deployed on one of the robots from this environment (#1250)…
i don’t get why this is the norme in UiPath. if a robot robot1 is busy being used by myEnvDispatcher then myEnvDispatcher will be launched on another robot no?
You can add same robot in both environments. But you need to have either of the below combination.
same robot → 2 machines → this way you can run both processes at same time.
But if same robot → same machine → then second job should be queued as robot is busy running other job if package is different. In this case, this issue is being raised because robot is same, machine is same and package is same too. But I am still confused about your environment.
So, before all of this, i want to ask you what are these 2 environments? When you say environments, do they have separate URLs? or separate tenants? Are these both non-prod ones? or one is non-prod and other is prod?
We should be able to help you figure it out better if we know what kind of environment setup you have there and why are you looking to have same robot in 2 environments?
Hey,
Thanks for your repsonse.
The two environments isn’t necessary. There is logically no difference in environement between dispatcher/performer processes. Both processes are in dev (prod when done) both for the same tenant and the same folder.
so what i need is :
Same robot (same user + same machine) + same package but different processes.
Why is this not possible?
I have
Porcess1 + MyEnvironment (myRobot) + MyPackage
but when trying to configure process2:
Process2 + MyEnvironment (myRobot) + MyPackage
i get the error
The problem is that myRobot (same user same machine) can not be used for a myPackage on process1 AND process2… this doesn’t make sense for me, when a robot is busy it is busy, it won’t run anything else, right?
I need the same robots for the two processes as they are for the same user… i just want to add multiple robots for these two processes so that they are used dynamically at runtime…