Condition / If
Branch on a previous result, a built-in window or file check, or a formula. Design both the true and false paths.
Keep settings readable.
This is a 3× capture of the actual English module panel. Open it and select Inspect full size to read the details.
When to use it
Branch on a previous result, a built-in window or file check, or a formula. Design both the true and false paths.
Settings and options
What to check
Use a previous step result, window open/closed/active/inactive, file present/missing or process running/stopped.
Link to a previous step
Select an earlier eligible step in the same group and check Success, Negative or Applied.
True / false branches
Add the appropriate actions inside each branch. An empty branch continues without an action.
Advanced expression
Use the comparison builder or a boolean expression such as AND(Target_Found; Counter < 3).
Nested conditions
Place another condition inside a branch when needed. Extract repeated work into helper groups to keep the flow readable.
Extra precondition
RunCondition decides whether the step runs. It is different from the condition that selects a branch.
Step-by-step setup
- Add the observation or check first.
- Choose the source step and expected result in Condition.
- Add the success action and a suitable wait or recovery path.
- Test both outcomes.
Practical examples
Click only when a button exists
- Find image: choose Continue when found.
- Condition: Target_Found.
- In the true branch, use the located target with Mouse; otherwise wait or recover.
Check a local file
- Choose the built-in File exists check and its local path.
- Call the processing group if present.
- Otherwise create a new file or stop for review.
Explore the interface
Tips and troubleshooting
- Applied means an action was sent; verify that the application accepted it.
- Step links cannot point to a later step or a different group.
- The main expression must return true or false, not a number or text.
See shared step settings for targeting, results, timeouts and preconditions, and the formula library for expressions.