How to check the jobs executed on UAT and Production separately

Hi,

I have executed a process using UAT url and Production url multiple times. Now I want to check the jobs executed on UAT separately and Production separately. Can you let me know from where can I see these.

Regards,

Hi @raju_alakuntla

Click on the “Environment” dropdown list at the top of the “Jobs” page. Select the desired environment (UAT or Production) from the dropdown list. After selecting the environment, the Jobs section will display only the jobs executed in that specific environment.

For better purposes:
You need to use the Folders feature in Orchestrator. Folders allow you to organize your processes and executions based on different environments or logical groupings.
So, create two folders for UAT and Production separately.
or
You can add tags to the job to identify the execution environment.

@raju_alakuntla

The process execution and job logs are usually specific to the automation platform or orchestrator you are using. Assuming you are using UiPath Orchestrator, I’ll provide instructions on how to check the jobs executed on UAT and Production separately.

  1. UiPath Orchestrator:

UiPath Orchestrator is the centralized platform for managing, scheduling, and monitoring your UiPath robots and processes. To view the jobs executed on UAT and Production separately, follow these steps:

a. Log in to UiPath Orchestrator:

  • Open your web browser and navigate to your UiPath Orchestrator URL.
  • Log in with your credentials.

b. Select the Environment:

  • UiPath Orchestrator allows you to set up separate environments for different stages like UAT and Production. Ensure that you have separate environments configured for UAT and Production.
  • In the Orchestrator’s modern folder view, you can see the environment selector in the top right corner. Click on it and choose the environment for UAT or Production, depending on which one you want to check.

c. View Jobs:

  • Once you have selected the appropriate environment, click on the “Jobs” tab from the left-hand side menu.
  • Here, you will see a list of all the jobs executed in the selected environment.
  • You can use the filters, date range, and search options to narrow down the list and find specific jobs executed on UAT or Production.

d. View Logs:

  • To view the detailed logs of a specific job, click on the job entry in the Jobs list.
  • You will be taken to the Job Details page, where you can see the logs, status, and other details related to that particular job.
  1. Logs in UiPath Studio:
  • If you are using UiPath Studio for development and attended robot execution, you can also find logs locally on the machine where the process was executed.
  • By default, the logs are stored in %userprofile%\AppData\Local\UiPath\Logs for attended robot execution.
  • You can open the log files using any text editor to check the details of the executed jobs, but these logs will not be centralized like in UiPath Orchestrator

I haven’t created the Environment separately for UAT and Production. I have changed the URLs from Orchestrator Assets for UAT and Production everytime. Now how can I check. please help me.

Regards,

@raju_alakuntla

If you haven’t created separate Environments for UAT and Production in UiPath Orchestrator and have only changed the URLs using Orchestrator Assets, the jobs executed on UAT and Production will still be listed together under the default “Default” Environment in the Jobs section. In this case, you won’t be able to filter the jobs based on Environments directly.

@raju_alakuntla

If you haven’t created separate environments for UAT and Production in UiPath Orchestrator, but have been changing the URLs in Orchestrator Assets for UAT and Production, you can still identify the jobs executed in each environment using the information stored in the Assets. You can follow these steps to achieve this:

  1. Create an Asset:
  • In UiPath Orchestrator, create an Asset with a meaningful name (e.g., “Environment”).
  • Add two text values to this Asset: one for UAT and the other for Production. Store the respective URLs in each value.
  1. Update the URL in the Robot Process:
  • In your UiPath robot process, use the Get Asset activity to retrieve the URL from the “Environment” Asset.
  • Depending on the URL value you retrieve (UAT or Production), set the robot to use the corresponding environment.
  1. Logging and Reporting:
  • Implement logging in your UiPath process to capture job execution details, including the environment (UAT or Production) for each job.
  • You can log the environment information along with other relevant details like job status, timestamp, etc.
  • Store the logs in a centralized location, such as a database or a log file.
  1. Summary Report:
  • Based on the logs, you can generate a summary report separately for UAT and Production executions.
  • Use the logged environment information to filter the logs and group the jobs by their respective environments.
  • Populate the summary report with the necessary details, including job status, execution times, errors, etc.

@raju_alakuntla

I believe you are talking about the application environments and not the UiPath Orchestrator Environments…If this is the case then both jobs will be in the same orchestrator environment where you executed because you only changed the parameters and not the Orchestrator Environments

You can go to jobs page and check all the jobs that you executed…if by chance you logged the URL then you can identify which is executed with UAT and Prod else you cannot from the logs

Hope this helps

cheers