When to use adaptive vs. defined path desktop actions
Summarize
Summary of When to use adaptive vs. defined path desktop actions
This guide helps ServiceNow customers choose betweendefined pathandadaptive pathdesktop actions for automating tasks via AI agents. Both types enable automation but differ in execution style, supported applications, and handling of UI variations.
Show less
Key Differences
- Step Execution: Defined path uses a fixed, recorded sequence of steps on Windows desktop applications, while adaptive path dynamically generates steps based on high-level goals for web applications.
- Supported Applications: Defined path supports desktop, thick client, and web applications; adaptive path supports only web-based applications via Google Chrome with the ServiceNow Web Automation extension.
- UI Changes Handling: Defined path may fail if UI changes; adaptive path adjusts to UI state changes at runtime.
- Conditional Logic: Defined path requires separate actions for each condition; adaptive path evaluates and decides the path dynamically.
- Result Consistency: Defined path delivers consistent, repeatable results; adaptive path results may vary due to AI’s dynamic nature.
- Configuration: Defined path actions are configured in AI Desktop Actions Windows application and AI Agent Studio; adaptive path actions are configured in AI Agent Studio only.
When to Use Defined Path
- The task involves a legacy desktop or thick client application without APIs or web interfaces.
- The process follows a fixed, repeatable sequence every time regardless of input data.
- Your organization requires predictable, auditable automation with identical execution sequences.
- The application runs on Windows and does not require a web browser.
When to Use Adaptive Path
- The task involves web-based applications with conditional logic or frequent UI changes.
- You need the AI agent to dynamically determine the most efficient path rather than follow a fixed sequence.
- The process requires navigating multiple web pages or making decisions based on page content.
If You Are Unsure
- For web-based tasks with uncertainty about fixed step sequences, start with adaptive path due to its flexibility and lower upfront design effort.
- If adaptive path results are inconsistent but the task is always performed the same way, consider switching to defined path.
- For non-browser desktop applications, defined path is the only available option as adaptive path requires Google Chrome.
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.