„Während“-bezogene Bedingungen
- Zuletzt aktualisiert2024/10/31
Verwenden Sie die „Während“-bezogenen Bedingungen, um den Ablauf sich wiederholender Aufgaben zu steuern. Diese Bedingungen legen fest, ob die Schleife weiter ausgeführt oder angehalten werden soll. Mit Gruppe hinzufügen können Sie außerdem verwandte Bedingungen gruppieren, was die Verwaltung komplexer Workflows vereinfacht.
Sie können beispielsweise Bedingungen gruppieren, die nach bestimmten Werten in einem Datensatz suchen, oder Bedingungen, die den Status eines Prozesses überprüfen. Dies hilft bei der Aufrechterhaltung eines strukturierten und effizienten Automatisierungsskripts, mit dem alle zugehörigen Bedingungen zusammen ausgewertet werden, bevor mit der nächsten Iteration der Schleife fortgefahren wird.
| Während | Beschreibung |
|---|---|
| Application | Use the Application is
running or Application is not
running condition to run actions
based on whether an application is running or not running. Enter the application path or specify the path using a variable along with the amount of time to wait (in seconds) for the condition to be true. Anmerkung: The
Application is running and
Application is not running conditions
are not applicable for Internet Explorer
bots because its corresponding process
iexplore.exe runs in the background when
Microsoft Edge is launched in
IE mode.
|
| Boolean | Verwenden Sie diese Bedingung, um actions basierend auf dem Wert einer Boolean-Variablen auszuführen. Verwenden Sie diese Bedingung, um die Werte von zwei booleschen Variablen oder einer booleschen Variable mit einem ausgewählten booleschen Wert zu vergleichen. |
| Data table | Use the Data table is empty
condition to execute actions based on whether the
specified table contains values. Use the Number of rows and Number of columns conditions to execute actions based on whether the number of columns or rows is Equal to, Greater than, or Less than the specified value. |
| Datetime | Use the Datetime variable condition to execute actions based on whether the value of the source datetime variable is Equal to or Not Equal to, is Greater than or Equal to, or is Lesser than or Equal to the value of the target datetime variable. |
| Dictionary | Verwenden Sie diese Bedingung, um den Satz an actions zu wiederholen, je nachdem, ob die ausgewählte Wörterbuchvariable den angegebenen Schlüssel enthält. Anmerkung: Beim Schlüsselvergleich wird zwischen Groß- und Kleinschreibung unterschieden.
|
| File | Use the following conditions to
execute the action:
|
| Folder ist vorhanden oder ist nicht vorhanden | Verwenden Sie diese Bedingungen, um den Satz an actions basierend darauf auszuführen, ob ein Ordner vorhanden ist. |
| Image Recognition | Use these conditions to verify whether:
For the Window
conditions, you can use the Resize window
option to specify the window dimensions. This option delivers a
more reliable bot. It resizes the window to the
dimensions at which the task was recorded, which enhances the
bot's ability to identify the target object.
Anmerkung: This option
is only available for windows that can be resized. It is not
available for Desktop or Taskbar options.
For the Window conditions, you can use the Preview option to select a specific captured occurrence and position your click location relative to the image. |
| JavaScript | Use the Script is successful or Script is unsuccessful condition to execute actions based the status of the specified JavaScript. Select the file that contains the script and optionally specify the parameters by selecting a list variable. |
| Legacy automation | The Legacy automation
conditions are only used in migrated bots to ensure
that they run seamlessly in Automation 360. We do
not recommend using these conditions for new bot development. The following conditions to verify
the following:
For the Window control conditions, you can use the Resize window option to specify the window dimensions. This option delivers a more reliable bot. It resizes the window to the dimensions at which the task was recorded, which enhances the bot's ability to identify the target object. |
| List | Use the List variable condition to execute actions based on whether the specified list variable contains a particular value. The value can be of Number, String, or Boolean data type. |
| Number | Use the Number variable condition to execute actions based on whether the specified number variable is Equal to or Not Equal to, or is Greater than or Equal to, or is Lesser than or Equal to a particular value. |
| Ping | Use the Ping is successful or Ping is unsuccessful condition to verify if a machine or server is running, and execute actions based on the result. Enter the amount of time (in seconds) to wait for the condition to be true. |
| Recorder |
Anmerkung: The
Object exists and Object
does not exist Recorder conditions support
Chromium-based Microsoft Edge with Internet Explorer mode.
|
| Service | Use the Service is running or Service is not running condition to execute actions based on whether a service is running or not. Select Service list to choose a service from the list of available services. |
| String | Use the String
variable condition to execute actions
based on whether the specified source string value is
Equal to or Not equal
to, or Includes or
Does not include the target value. You can select the Match case option to only execute actions if the two strings have matching uppercase and lowercase letters. When you extract text from
a Microsoft application, the extracted text contains the
To create a condition based on whether a string is empty or not empty, compare the source value to an empty target field using the Equal to operator. |
| Task Bot | Use the Task successful or Task unsuccessful condition to execute actions based on the status of the specified Task Bot. You can also use the Error handler with the Task unsuccessful condition to check if the task has failed. This can be done as long as the On error, continue with next action option in the action is not enabled. |
| VBScript | Use the Script is successful or Script is unsuccessful condition to execute actions based on the status of the specified Visual Basic script. Select the file that contains the script and optionally specify the parameters by selecting a variable. |
| Window | Use the Window exists or
Window does not exist condition to verify
if a specific application window is open by entering the
Window title or using a variable. Enter
the amount of time (in seconds) to wait for the condition to be
true. These conditions are used when the window title remains
constant and to verify if the specific window is open and
execute further actions based on the
output.
The Window exists condition uses the same window variable to search the specific window from cache. For example, when you open a Yahoo India web page and perform a Click action on the News option on the web page, the action navigates you to another page which changes the title of the window. In this case, when you use the Window exists condition to verify if the window exists, the bot still fetches the Yahoo India web page from the cache and performs action on it because the window is still the same but only the title has changed. For more information on how window variables work, see Ihre Variablen (benutzerdefiniert) Use the Window with same title does not exist or Window with same title exist condition to verify whether a window with the same title exists or whether the window title has changed. Enter the amount of time (in seconds) to keep verifying if the condition is true. These conditions are used for window titles that are dynamic. For example, when you open a Google account webpage, enter your username and password to log into your account, the window title changes. If you want to compose a new email as a next action, you can use these conditions before you execute the next action to verify if the window with the same title exists or if the title has changed. |
Gruppenbedingungen
Verwenden Sie die Option Gruppe hinzufügen, um mehrere boolesche Bedingungen hinzuzufügen oder mehrere Bedingungen mit den Optionen und und oder innerhalb einer Gruppe zu kombinieren, wenn Sie möchten, dass der bot mehrere Bedingungen gleichzeitig prüft, bevor er eine Reihe von actions ausführt.
Sie können eine Gruppe auch innerhalb einer Gruppe hinzufügen.