{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":22514,"path":"integrate-applications/use-wait-waitforimgs.md","title":"Use the Wait For Images component","bundle":null,"doc_type":null,"release":"australia","body":"\n# Use the Wait For Images component\n\nChange 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.\n\n## Before you begin\n\nRole required: none\n\n## About this task\n\nYou can configure the properties for the Wait For Images component. For more information about these properties, see [Properties of the Wait components](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/wait-properties.md).\n\n## Procedure\n\n1.  In the Toolbox pane, navigate to **Wait**.\n\n2.  Drag the Wait For Images component to the Design surface.\n\n3.  To add images, click the add image icon\\[Omitted image \"add-image-icon.png\"\\] Alt text: add image icon. on the Wait For Images component title bar.\n\n4.  To capture the image that you want the component to find first, click the \\[Omitted image \"camera-icon.png\"\\] Alt text: Camera icon.\n\n5.  To select a region, press the **CTRL+SHIFT** keys.\n\n    You can add as many screenshots as you want by clicking the add image icon.\n\n    The selected area is displayed in the Wait For Images component.\n\n6.  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.\n\n    |Port type|Purpose of connection|Mandatory?|\n    |---------|---------------------|----------|\n    |Else|Connects to the Control In port of any other component. You can define an exception if no images are found.|Yes|\n    |Control In|Connects to the Control Out port of one or more components.|Yes|\n    |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|\n\n7.  To test the component, under the **DESIGN** tab, click **Run**.\n\n\n**Parent Topic:**[Wait](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/wait.md)\n\n"}}