---
sourceDocument: Yokohama Data and Automation
sourceDocumentLink: https://www.servicenow.com/docs/r/yokohama/integrate-applications

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama Data and Automation

ft:clusterId :

    - crint

bundleId :

    - crint

workflow :

    - Creator


---

# Use the Wait For Images component

# Use the Wait For Images component {#ariaid-title1}

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Change the automation execution flow that is based on the image information on the
screen by using the Wait For Images component in RPA Desktop Design Studio. You can
also identify the state of a business application or an item that is based on an error or
status icon.

## Before you begin

Role required: none

## About this task

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

## Procedure

1. In the Toolbox pane, navigate to Wait.
2. Drag the Wait For Images component to the Design surface.
3. To add images, click the add image icon![add image icon.]() on the Wait For Images component title bar.
4. To capture the image that you want the component to find first, click the ![Camera icon]().
5. To select a region, press the CTRL+SHIFT keys.  
   You can add as many screenshots as you want by clicking the add image icon.  
   The selected area is displayed in the Wait For Images component.
6. Connect the data and control ports of the Wait For Images component to the corresponding ports of the other components as described in the following table.  
   {#use-wait-waitforimgs__table_jnw_jn1_krb__entry__3}

   | Port type | Purpose of connection | Mandatory? |
   |-|-|-|
   | Else | Connects to the Control In port of any other component. You can define an exception if no images are found. | Yes |
   | Control In | Connects to the Control Out port of one or more components. | Yes |
   | Dynamic Control Out | Connects to the Control In port of any other component. After you add more cases to the component, a control out port for every individual case is displayed. | Yes |
   [ ]

   {#use-wait-waitforimgs__table_jnw_jn1_krb}
7. **Optional:** To test the component, under the DESIGN tab, click Run.

