
To help WalkMe evaluate our rules quickly and effectively, it's important to create efficient conditions within the Condition Builder. By optimizing how rules are structured, we can reduce processing time and ensure smoother performance across our digital experiences.
Condition Evaluation
Fastest conditions to evaluate:
- URL
- Variable
Slower conditions to evaluate:
- On-screen element
- Selected element
- User attributes
- jQuery
Or vs And conditions
- If you have multiple rules that are connected by "And," WalkMe will check the first listed rule first. If the first rule is true, it will go on to check all subsequent rules.
- If you have multiple rules that are connected by "Or," WalkMe will check all of the rules.

Auto Play Rules
It's best practice for auto play rules to begin with a URL so that WalkMe only checks the autoplay conditions on the correct page. If a URL is not an option, use a variable, user data or a cookie.
The URL rule may be the only rule required, but we can add other rules as well like an element being visible upon page load. Follow the condition efficiency options below to select the most efficient additional rules.

Goals
The Goals should always begin with a URL so that WalkMe only checks for the Goal on the correct page.
The URL rule may be the only rule required, but we can also add rules based on what we want to track for the Goal. The most common and acceptable second rule is an element on screen being clicked.
Goals don’t have a default option to track when an on-screen element is visible because it can impact the performance if WalkMe is constantly looking for that on-screen element. If needed as a last resort, you can use a URL plus the jQuery of the on-screen element being "true" to check if something is visible.

Display Conditions
To ensure an optimized experience, there are a few things to keep in mind for Display Conditions:
- Display conditions are evaluated on page load unless otherwise noted with the Element Behavior and/or Removal Behavior functions.
- All SmartTips within the same set should display on the same page. The SmartTip Set display rule(s) is evaluated only once upon page load, and the individual SmartTip display conditions are evaluated according to its specific configuration and selected element.

Pro Tips
Here are two tips to help simplify the nuances of rule order and optimization:
- If you're able, try to always use a URL rule first in your list of conditions. List a fast rule before a slower rule. Fast Conditions First (FCF) evaluates the fast conditions first, and only afterwards - if still relevant - continues on to the slow conditions, keeping the logic of the condition tree intact.
- Slower conditions don't necessarily mean they are going to be visibly slow to evaluate. However, knowing that statistically some rules are easier to check quickly, it's best practice to ensure that a fast condition is always present.
In general, we want to minimize the number of rules we're asking WalkMe to evaluate in the Condition Builder.
While there's no specific limit to the number of rules, keep in mind that the more that are added, the harder we're asking WalkMe to work!