Action recorder in AI Desktop Actions
Summarize
Summary of Action recorder in AI Desktop Actions
The Action recorder in AI Desktop Actions enables you to capture and automate repetitive desktop tasks by recording your interactions with application elements. It saves these steps as reusable desktop actions, facilitating the creation of automated workflows that replicate your manual processes. Recorded actions are visualized as screenshots with anchored interface components in the Design workspace.
Show less
Key Features
- Recording Modes:
- Record with AI (recommended): Uses AI to validate and correct anchor positions, generate screen context descriptions, and improve accuracy before saving or activating the action. Requires the ServiceNow AI Lens skill and the
sndesktopcore.desktopactionuserrole. - Auto capture with recorder: Automatically records interactions and adds anchors and steps without AI processing.
- Manual capture: Captures screens only, giving full control over what is recorded.
- Record with AI (recommended): Uses AI to validate and correct anchor positions, generate screen context descriptions, and improve accuracy before saving or activating the action. Requires the ServiceNow AI Lens skill and the
- Recorder Controls: Options include start, pause, restart, discard, and stop recording. Each UI interaction is captured sequentially and labeled by action type.
- Screen Capture Logic: Screens are captured based on changes such as window switches, button clicks, scrolling, or special key usage, preserving screen context and ensuring reliable automation playback.
- Step Limits: Up to 50 steps can be recorded in a single session, with the ability to start new sessions to capture additional steps.
Practical Tips and Limitations
- Ensure the highlighter is visible on the target control before interacting, and avoid performing actions too quickly to allow proper capture.
- Check and refine AI-generated anchors and screen contexts before activating the action.
- Scroll pages in small increments and avoid hovering or rapid interactions to prevent inaccurate anchors.
- Some UI elements like drop-downs, multi-selects, and date pickers may require manual review and possible recapture.
- Scrolls performed via laptop touchpads are not captured.
- Verify correct element anchors especially on desktop home screens, as layout differences may cause incorrect selections.
- Latency issues may occasionally cause anchors to link to unintended screens; recapturing those screens is advised.
Why It Matters
By using the Action recorder, ServiceNow customers can efficiently automate repetitive desktop tasks with minimal manual configuration. The AI-enhanced recording improves accuracy and reduces setup time, leading to more reliable automation outcomes and easier maintenance of desktop workflows.
With Action recorder, you can capture steps to automate repetitive tasks in AI Desktop Actions. You can save the steps that you perform on application elements as a reusable desktop action.
Action recorder helps you record your interactions with desktop applications to create automated workflows. By recording steps, you can automate tasks that replicate your interactions. The recorded actions are displayed as screenshots in the Design workspace with anchors and steps automatically added.
The recorder captures the following items:
- Visual snapshots of your screen at key interaction points.
- Steps in the form of the buttons, fields, and other interface components you interact with.
Record with AI
Record with AI is the recommended way to create desktop actions. Record with AI generates more accurate anchor positions automatically, reducing the time you spend on manual anchor adjustments.
When you record with AI, after you finish recording, AI analyzes the recording, validates anchor positions, and corrects inaccuracies before you save or activate the action. AI also generates a screen context for each captured screen and description for the desktop action. Screen context is a description of what the screen does and what it contains, which helps reviewers and AI agents understand the screen's intent.
After AI processing completes, a confirmation banner appears: AI analysis complete. Verify AI generated anchors and screen contexts before continuing. Review and refine the AI-generated anchors and screen contexts before activating the action.
Capture modes
You can select a capture mode from the Capture options menu in the Screens and Steps panel.
- Record with AI (recommended)
- Records your interactions by capturing screens and adding steps and uses AI to automatically validate anchor positions and generate screen contexts at design time, reducing the risk of automation failures at runtime.
- Auto capture with recorder
- Records your interactions automatically and adds anchors and steps without AI processing.
- Manual capture
- Captures screens without automated recording, giving you full control over what is captured.
Recorder controls
You can select any of the following options from the More options menu on the Action recorder panel:
- Start recording: Start recording the steps
- Pause: Skip recording steps
- Restart: Restart recording the steps
- Discard: Discard the recording if it doesn't meet your needs
- Stop recording: Stop recording steps
Each step that you perform is captured sequentially and the type of UI action is displayed for each step. For example, Capturing Mouse Left Click event.
Limitations
Scrolls performed using a laptop touchpad aren't captured.
Tips for accurate recording
Follow these tips to improve the accuracy of your recordings.
- Before performing any action, ensure the highlighter is visible on the target control. Recording too quickly may prevent the recorder from capturing the action sequence correctly.
- Avoid performing steps too quickly. When the message in the Action recorder panel appears in red, wait for the recorder to finish processing the current step before continuing.
Proceed with the next step when the red highlight box appears around the element you interact with and the message in the Action recorder panel changes to blue.
- Temporarily hovering components, such as drop-downs, multi-select fields, reference fields, and date pickers may not always be captured during recording, or may generate inaccurate anchors. Review the recording after completion and recapture any affected steps as needed.
- When selecting check boxes or radio buttons, click as close to the center of the control as possible to avoid activating areas outside the intended element.
- Scrolling the page or hovering over a field may result in inaccurate anchors. Avoid both while recording.
- Perform scrolls in small increments, one scroll at a time, so the recorder captures each scroll action accurately.
- On the desktop home screen, the system may select the Windows icon instead of the Chrome icon as the anchor due to differences in the desktop layout between the main and inset user sessions. Verify that the correct icon is selected after recording.
- In rare instances, latency between capturing a screenshot and retrieving control details may cause an anchor to reflect an element from a subsequent screen rather than the intended one. If this occurs, recapture the affected screen.
How screens are captured
- Window is changed
- Button is clicked or option is selected that might change the layout
- Page is scrolled
- Special keyboard keys are used, such as Enter or Tab
You can capture a maximum of 50 steps using the recorder in a recording session. While auto-capturing steps, a counter displays the remaining number of steps you can capture (for example, "35 of 50 max"). Recording stops automatically after you capture 50 steps. If you need to capture additional steps, start a new recording session. The new recording adds screens and steps to those captured in the previous recording.