Process triggered from Apps only runs in Production Runtime Type

I have two licenses - one for Production runtime and one for Testing runtime. How can I configure the process so it runs in a Production runtime or Testing runtime depending on the Machine it started on?

So essentially, how do I specify the runtime type when triggering the process from Apps?

@Jrask

You can choose the user as per your need

Cheers

Hi @Anil_G . Thanks - can you expand on how I can choose the user? When I’m setting up the workflow to run in UiPath App, there isn’t a section that allows me to set the user?

@Jrask

Apologize.My bad for the wrong one here

As of now apps got a new release where you need to add apps also to folders…as a workaround for now.,.you can add the app to specific folder and allocate only the required machine and user to that folder so that i can be restricted.

And if you are looking for a machine or user selection from apps then please vote on it

cheers

1 Like

Hi @Jrask

  1. Within your UiPath process, use the “Get Environment Variable” activity to retrieve the value of the “RuntimeType” variable.
  2. Conditionally Execute Logic: Based on the value of the “RuntimeType” variable, you can use a conditional statement to execute specific logic for each runtime. For example:
  • If “RuntimeType” is set to “Production”, execute the production-specific logic.
  • If “RuntimeType” is set to “Testing”, execute the testing-specific logic.
  1. Triggering the Process: When triggering the process from Apps or any other means, you can pass the appropriate runtime type value as an argument or parameter.
  • If triggering the process from Apps, you can include a field or option for the user to select the runtime type (e.g., Production or Testing). Then, pass the selected runtime type as an argument when starting the process.
  • If triggering the process using any other method, you need to ensure that the runtime type value is provided as an argument or parameter.

Thanks!!

Hi @Nitya1 - Steps 1 and 2 are all good and make sense, but 3 doesn’t. Do you have an example of passing the type as an argument to Orchestrator?

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