When to use adaptive vs. defined path desktop actions
Summarize
Summary of When to use adaptive vs. defined path desktop actions
ServiceNow provides two types of desktop actions—defined path and adaptive path—to automate tasks via AI agents. Both facilitate automation but differ in execution style, application support, and adaptability to UI changes. Choosing the appropriate type depends on your automation scenario, the nature of the applications involved, and your need for flexibility or consistency.
Show less
Key Differences
- Step Execution: Defined path actions follow a fixed, recorded sequence of steps using the AI Desktop Actions Windows application. Adaptive path actions dynamically generate and adjust steps based on a high-level goal described by the user.
- Supported Applications: Defined path supports desktop, thick client, and web applications. Adaptive path supports only web-based applications and websites.
- Environment Requirements: Defined path runs on Windows desktop; adaptive path requires Google Chrome with the ServiceNow Web Automation browser extension.
- Handling UI Changes: Defined path may fail if the UI changes. Adaptive path adjusts at runtime to UI state changes.
- Conditional Logic: Defined path needs separate actions per conditional path. Adaptive path evaluates conditions during execution to choose the appropriate steps.
- Result Consistency: Defined path provides consistent, repeatable execution. Adaptive path results may vary due to AI-driven decision-making.
- Configuration: Defined path actions are configured in the AI Desktop Actions Windows app and AI Agent Studio; adaptive path is configured in AI Agent Studio.
When to Use Defined Path
- Tasks with known, fixed steps that do not change between executions.
- Automation involving legacy or thick client desktop applications without APIs or web interfaces.
- Scenarios requiring predictable, auditable automation where every run follows the same sequence.
- Applications running on Windows desktops without browser dependencies.
When to Use Adaptive Path
- Tasks with unpredictable or variable steps, or when the UI may change between runs.
- Web-based automation involving conditional logic and decision-making based on dynamic page content.
- Tasks requiring navigation across multiple web pages or where efficiency in reaching a goal is prioritized over following a fixed sequence.
- Web applications with frequently updated UIs.
If You Are Unsure
- For web-based tasks with uncertain step consistency, start with adaptive path for flexibility and reduced upfront design.
- If adaptive path results are inconsistent but the task is always performed identically, consider switching to defined path.
- For non-browser desktop applications, defined path is the only viable option since adaptive path requires Google Chrome and cannot automate outside the browser.
Use this guide to determine which type of desktop action best fits your automation scenario before you begin configuration.
There are two types of desktop actions: defined path and adaptive path. Both enable AI agents to automate tasks on behalf of users, but they differ in how steps are executed, what applications they support, and how they handle variation in the user interface.
Key differences
| Area | Defined path | Adaptive path |
|---|---|---|
| How steps are determined | You record a fixed sequence of steps in the AI Desktop Actions Windows application | The AI agent generates and adjusts steps dynamically based on a high-level goal you describe |
| Supported applications | Desktop applications, thick client applications, and web-based applications | Web-based applications and websites only |
| Environment | Runs on the Windows desktop | Requires Google Chrome and the ServiceNow Web Automation browser extension |
| Handles UI changes | Steps may fail if the application UI changes | Adjusts to changes in UI state at runtime |
| Handles conditional logic | Requires a separate desktop action for each conditional path | Evaluates conditions at runtime and determines the appropriate path |
| Result consistency | Consistent and repeatable — steps execute in the same order every time | Results may vary between runs due to the non-deterministic nature of AI |
| Configuration location | AI Desktop Actions
Windows application and AI Agent Studio Note: Background task desktop actions can't be configured in AI Desktop Actions, but you can add them in AI Agent Studio as tools. |
AI Agent Studio |
Choose defined path when
Use defined path desktop actions for scenarios where the steps are known, fixed, and don't change between executions:
- The task involves a legacy desktop application or thick client that does not have an API or web interface. For example, automatically processing badge-related requests in a facilities management desktop application.
- The task follows the same sequence of steps every time, regardless of the data involved. For example, entering shipping data into a shipping management application using a fixed form structure.
- Your organization requires predictable, auditable automation where every execution follows an identical sequence.
- The application runs on Windows and does not require a browser.
Choose adaptive path when
Use adaptive path desktop actions for scenarios where the steps can't be fully predicted in advance, or where the application UI may change between executions:
- The task is web-based and involves conditional logic. For example, the next steps depend on the outcome of a previous action, such as reviewing an incident record and routing it differently based on its current state.
- The web application updates its UI frequently.
- You want the AI agent to determine the most efficient path to complete a goal, rather than following a prescribed sequence.
- The task requires navigating multiple web pages or making decisions based on page content. For example, finding the latest invoice from a vendor portal and returning a summary.
When you aren't sure which to use
If your task is web-based and you're uncertain whether the steps always be the same, start with adaptive path. Adaptive path actions require less upfront design work and can handle variation that would cause a defined path action to fail. If you find that results are inconsistent and the task is always performed the same way, consider switching to defined path.
If your task involves a non-browser desktop application, defined path is your only option. Adaptive path requires Google Chrome and can't interact with applications outside the browser.
Defined path desktop actions can automate both desktop applications and web-based tasks. Adaptive path desktop actions support web-based tasks only and require Google Chrome with the ServiceNow Web Automation browser extension installed.