Unable to find the exception variable in Try Catch activity

In the 2026 studio version i am unable to see the exception variable field in Try Catch activity as shown below.

New Version : 2026

Documentation

Hi @adarsh_kotagiri

When you add a Catch → Exception Type (e.g., System.Exception), UiPath auto‑generates a variable: exception

You can use it directly inside the Catch block:

  • exception.Message
  • exception.Source
  • exception.StackTrace

For more-

1 Like

You have to add a catch. Click where it says add catch.

You need to add a catch by clicking where it says add catch.

Actually i am looking for this exception field as shown below

1 Like

It’s updated now …
Happy Automation

@adarsh_kotagiri

In recent version there is no flexibility to create or change name of the exception object. You have default variable named exception like the below you can use it.

Try Catch

1 Like

@adarsh_kotagiri

it does not show up buts its an auto created field

in latest studio for for loop ,exception etc the variables are created but not shown as such

cheers

1 Like

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