---
title: "Codeunit 2000000019 Agent User Intervention"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/2000000019-agent-user-intervention/
type: codeunit
id: 2000000019
name: "Agent User Intervention"
app: "System"
namespace: System.Agents
versions: "27-29"
build: 29.0.55597.0
countries: "W1"
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 2000000019 Agent User Intervention

JOP-AL, https://jonas-paprotka.de/ref/codeunit/2000000019-agent-user-intervention/

| | |
| --- | --- |
| App | System |
| Namespace | System.Agents |
| Versions | 27-29 |
| Minors | W1 27.0, 28.0, 29.0, [every minor](https://jonas-paprotka.de/ref/codeunit/2000000019-agent-user-intervention/editions.json) |
| Source file | System Codeunits/Agents/AgentUserIntervention.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| GetUserInterventionRequestDetails | (UserInterventionRequestEntry: Record "Agent Task Log Entry"; var TempUserInterventionRequestDetails: Record "Agent User Int Request Details" temporary; var TempUserInterventionAnnotations: Record "Agent Annotation" temporary) | - | public | 27-29 | - | - |
| CreateUserIntervention | (UserInterventionRequestEntry: Record "Agent Task Log Entry") | - | public | 27-29 | - | - |
| CreateUserIntervention | (UserInterventionRequestEntry: Record "Agent Task Log Entry"; UserInput: Text) | - | public | 27-29 | - | - |
| CreateUserIntervention | (UserInterventionRequestEntry: Record "Agent Task Log Entry"; SelectedSuggestionId: Integer) | - | public | 27 | - | - |
| CreateUserIntervention | (UserInterventionRequestEntry: Record "Agent Task Log Entry"; UserInput: Text; SelectedSuggestionId: Text) | - | public | 27 | - | - |
| CreateUserIntervention | (UserInterventionRequestEntry: Record "Agent Task Log Entry"; UserInput: Text; SelectedSuggestionId: Integer) | - | public | 27-29 | - | - |
| GetUserInterventionRequestDetails | (UserInterventionRequestEntry: Record "Agent Task Log Entry"; var TempUserInterventionRequestDetails: Record "Agent User Int Request Details" temporary; var TempUserInterventionAnnotations: Record "Agent Annotation" temporary; var TempUserInterventionSuggestions: Record "Agent Task User Int Suggestion" temporary) | - | public | 28-29 | - | - |
| CreateUserInterventionFromSuggestionCode | (UserInterventionRequestEntry: Record "Agent Task Log Entry"; SelectedSuggestionCode: Code[20]) | - | public | 28-29 | - | - |
| CreateUserInterventionFromSuggestionId | (UserInterventionRequestEntry: Record "Agent Task Log Entry"; UserInput: Text; SelectedSuggestionId: Text) | - | internal | 28-29 | - | - |
| CreateApprovalUserIntervention | (UserInterventionRequestEntry: Record "Agent Task Log Entry"; Allowed: Boolean) | - | public | 29 | - | - |
| CreateApprovalUserIntervention | (UserInterventionRequestEntry: Record "Agent Task Log Entry"; Allowed: Boolean; Lifetime: Enum "Agent Approval Lifetime"; Scope: Enum "Agent Approval Scope") | - | public | 29 | - | - |
| IsPermissionInterventionRequest | (UserInterventionRequestEntry: Record "Agent Task Log Entry") | Boolean | internal | 29 | - | - |
| EnsurePermissionInterventionHasSelectedSuggestionOrInstructions | (UserInterventionRequestEntry: Record "Agent Task Log Entry"; SelectedSuggestionId: Text; UserInstructions: Text) | - | internal | 29 | - | - |

## Source

Symbols: Microsoft.Platform.symbols, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-11-20.

JOP-AL, 2026-11-20.
