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

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Workflow Data Fabric

ft:clusterId :

    - crint

bundleId :

    - crint

workflow :

    - Creator


---

# Use the SetValue method for Universal App Connector

# Use the SetValue method for Universal App Connector {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read  
Use the SetValue method to assign a specified value into an element.

## Before you begin

Verify that you have open or active applications, for example, where you want to capture elements.

Role required: None

## About this task

For information on the various additional operations that are available for the application screens and elements, see [Additional options for application screens and elements in Universal App Connector](https://www.servicenow.com/docs/LwcQ~7OhIAPIrKg4G~qCIg "Validate and perform additional operations for the added application screens and their captured elements. The additional options for the application screens are categorized based on the application type.").

## Procedure

1. Configure Universal App Connector.  
   To learn more about configuring the application screens and child elements, see [Use the Universal App Connector](https://www.servicenow.com/docs/fnufgqBuK7Nrh7o~QlsR1g "Create automations for your Windows, Java, Google Chrome, and Edge browser-based applications by using the Universal App Connector (UAC). Configure the applications from a single, unified connector and capture the screens and elements or screen controls such as check boxes, and buttons. Use the methods of these screens and elements to build your automation.").
2. Under Global Objects, double-click the UniversalApplication object.  
   The SetValue method appears in the Object Explorer pane.
3. Drag the SetValue method to the Design surface.
4. Double-click the SetValue method to configure the screens and elements in Universal App Connector.
5. On the Configure screens and elements window, select the Choose from an open window drop-down (![Choose from an open window drop-down.]()) and select an application screen.  
   For example, select the Badge Tool application.  
   Note:  
   * If no supported applications are open, the `App window not found message` is displayed.
   * To display newly opened application screens on the list, select the Click to refresh windows icon (![Click to refresh windows icon.]()).
   {#use-setvalue-uac__ul_nht_fq1_rzb}
6. To add the selected application screen, for example, Badge Tool application, select Add screen.  
   After you do this step, you can capture the screen elements to perform actions.  
   The application screen appears under the Screens and elements pane.

7. To capture the elements from the screen, right-click the added screen and select Capture Element.  
   The focus is set on the application screen that you had captured and the capture elements dialog appears.
8. After selecting the required element, select the Add Element icon (![Add Element icon]()) and select the mode as UIA, to capture the element.  
   Note:  
   You must add at least one element to continue.

   For example, select the text box next to User Name field, select the TAG as edit.
9. In the Configure screens and elements window, right-click the captured element, choose Select and select Done.  
   Note:  
   Select at least one element to perform the action. If none are selected, the action won't be executed. To proceed without selecting, select OK.
10. Complete the following parameters in the SetValue method:  
    {#use-setvalue-uac__table_ucm_psl_fwb__entry__4}

    | Parameter name | Parameter description | Port Type | Data Type |
    |-|-|-|-|
    | Value | Enter the value that you want to assign in the element. For example, <kbd class="ph userinput">ServiceNow</kbd>. | Data In | String |
    [Table 1. Parameters of the SetValue method]

    {#use-setvalue-uac__table_ucm_psl_fwb}
11. Right-click the SetValue method and select either Run From Here or Run This.  
    The input value is displayed in the captured element. In this scenario, ServiceNow is displayed in the User Name Field.
12. Double-click the required application screen or element and the Object Explorer pane is displayed listing the related methods.  
    For example, if you select a Java application screen or element, the Java connector methods are displayed in Object Explorer.
    * For more information on Java connector methods, see [Java connector methods](https://www.servicenow.com/docs/~FGWKDSRrBsPu5AO8vLeaw "The Java connector exposes methods at the connector, screen, and element levels. While all types of elements have common methods, they also have different methods.").
    * For more information on Google Chrome and Microsoft Edge connector methods, see [Chromium connector methods](https://www.servicenow.com/docs/Acs0k0ctFy01j~w3EdA9sg "The Chromium connector methods do different tasks on the applications, screens, and the elements on the screens of the Google Chrome and the Microsoft Edge browsers.").

    * For more information on Windows connector methods, see [Windows Connector methods](https://www.servicenow.com/docs/0lCD7~0G~FAPCNMtMwNGpQ "The Windows methods in RPA Desktop Design Studio interact with the Windows applications to perform various tasks. The connector provides methods at different levels of the Windows applications.").
    * If you have captured a web application screen and you want to execute a custom JavaScript on it, you can use the ExecuteJavascript method.

    {#use-setvalue-uac__ul_isz_5mx_gwb}
{#use-setvalue-uac__steps_jy3_w4j_b2c}

