How to create a sequential batch process in UiPath non-prod environment in attendance mode

Recently, in my organisation, there was a requirement. We need to run five boat as a sequential batch in non-prod attendant mode. We need to make the set up in such a way so that user only need to trigger the first bot and after completion of each bot, the subsequent next bot will trigger automatically.
Is there any way to achieve that?

@Mir.Jasimuddin

use a start job activity in the end state of the previous bot so that the next bot starts

if attended invoke process also can be used

cheers

Hi @Anil_G,

There was one issue we can’t publish the code also we do not have unattended support, the setup is going on with admin team we just want to provide a demo with client.

In this scenario how to achieve that?

@Mir.Jasimuddin

in that case, try calling the main workflow in the end steps again…

and use a counter variable, until its 5 you keep calling that main/starting workflow else you dont do that and it ends the loop and process.

1 Like

So I use some power shell coding and call that in the end and it is working, just exploring the alternative ways.

Aslo the bots are different individuals. So how to call main ?

I am confused.

As you mentioned there is no unattended mode, then there is no bot. Its just 1 user who is using studio and creating and running workflows.

@sonaliaggarwal47,

I mean different process. To be precise 5 individual RE process.

@Mir.Jasimuddin You are not deploying the code, which means you are planning to run the process directly from UiPath Studio. If the code is deployed to Orchestrator and then the job is triggered from UiPath Assistant, that is considered an Attended automation.

In this case, I believe the Start Job activity will help you.

@Mir.Jasimuddin

There are few ways this can be done:

  1. Use Invoke Process Activity.
  2. Use powershell commands like you are already doing.
  3. use batch file and commands in there to achieve so, not recommended though, but should work.
1 Like

Thanks @sonaliaggarwal47, actually I also replied the same thing ā€œnot recommendedā€ but we achieved that. You know non technical person do not want to understand the limitations. Also if we can deploy and also get the unattended support then the task would be easy.

One more thing each process is individual then does it make sense that to run sequentially rather than using parallel trigger. What do you think??

What is your point, if I am using ā€˜start job’ then don’t need to deploy the code?

@Mir.Jasimuddin

you are anyways saying it is attended…then publish to local and then use invoke process

cheers

2 Likes

@Anil_G,
Yes that make sense also didn’t tried that. Thanks for the suggestion. Much appreciated.

1 Like

Did not find a option to publish in locally, it is disabled

@Mir.Jasimuddin

Which license you are using it under? Seems like studioX capabilities :thinking:

Anyway, 1 workaround in this case is to publish to orchestrator and then download the package, save to the drive you want

1 Like

@Mir.Jasimuddin

May I know what license are you on?

as @sonaliaggarwal47 mentioned can publish and download

another way as it is only for demo..you can copy the process into the same folder and use invoke workflow

cheers

1 Like

Hi @Anil_G and @sonaliaggarwal47,

It’s an Enterprise License in non-prod.

Hi @Mir.Jasimuddin

My bad, We are not asking about enterprise/community license.

Kindly navigate to Admin->licenses, and see there which license is assigned to the user you are trying to publish package from?

1 Like

@Mir.Jasimuddin

I mean what is assigned to user?

also may be local publish is disabled for you..try to publish and download

cheers

@Anil_G and @sonaliaggarwal47,

Let me summarise it, directly we do not have the access to publish the code anywhere it is controlled by the admin we can request through a process. And guess I got my ans we need to use power-shell code to trigger next one. Thank you for your support.