---
sourceDocument: Australia Workflow Data Fabric
sourceDocumentLink: https://www.servicenow.com/docs/r/australia/integrate-applications

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia Workflow Data Fabric

ft:clusterId :

    - crint

bundleId :

    - crint

workflow :

    - Creator


---

# Use the Throw Error component

# Use the Throw Error component {#ariaid-title1}

Release version: Australia  
Updated March 12, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
Raise an exception during the automation process to indicate something incorrect has occurred by using the Throw Error component in RPA Desktop Design Studio.

## Before you begin

Role required: none

## About this task

You can configure the properties for the Throw Error component. For more information about these properties, see [Properties of the General components](https://www.servicenow.com/docs/g26peHXsV3az9GTHXT0sSw "Learn about the properties of the General components in RPA Desktop Design Studio.").

## Procedure

1. In the Toolbox pane, navigate to GeneralThrow Error.
2. Drag the Throw Error component to the Design surface.
3. In the Toolbox pane, navigate to GeneralTry Catch.
4. Drag the Try Catch component to the Design surface.
5. In the Toolbox pane, navigate to GeneralMessageBoxShow.
6. Drag the Show component to the Design surface.
7. **Optional:** Connect the data and control ports of the Throw Error component to the corresponding ports of the other components as described in the following table and image.  
   {#use-general-throw-error__table_jnw_jn1_krb__entry__4}

   | Port name | Purpose of connection | Port type | Data type |
   |-|-|-|-|
   | Exception Type | Specify the category of the occurred error. For example, Application. | Data In | String |
   | Message | Provide a detailed description of the error, explaining the issue and the suggestion solution. For example, "There was an error loading the application. Please try again." | Data In | String |
   [ ]

   {#use-general-throw-error__table_jnw_jn1_krb} Figure 1. Throw Error component
8. **Optional:** To test the component, click Run from the Design tab.  
   Figure 2. Throw Error component result
{#use-general-throw-error__steps_l51_f1r_bfc}

*[\>]: and then


