---
title: "Interface IAgentTaskExecution"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/interface/iagenttaskexecution/
type: interface
name: "IAgentTaskExecution"
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/"
---

# Interface IAgentTaskExecution

JOP-AL, https://jonas-paprotka.de/ref/interface/iagenttaskexecution/

| | |
| --- | --- |
| App | System |
| Namespace | System.Agents |
| Versions | 27-29 |
| Minors | W1 27.0, 28.0, 29.0, [every minor](https://jonas-paprotka.de/ref/interface/iagenttaskexecution/editions.json) |
| Source file | System Interfaces/IAgentTaskExecution.Interface.al |

## Implemented by

- [Codeunit 3314 PA Agent Task Execution](https://jonas-paprotka.de/ref/codeunit/3314-pa-agent-task-execution/), Payables Agent, 27-29
- [Codeunit 4309 SOA Agent Task Execution](https://jonas-paprotka.de/ref/codeunit/4309-soa-agent-task-execution/), Sales Order Agent, 26-29
- [Codeunit 2000000013 Agent Default Task Execution](https://jonas-paprotka.de/ref/codeunit/2000000013-agent-default-task-execution/), System, 26-29
- [Enum 2000000006 Agent Metadata Provider](https://jonas-paprotka.de/ref/enum/2000000006-agent-metadata-provider/), System, 25-29

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| AnalyzeAgentTaskMessage | (AgentTaskMessage: Record "Agent Task Message"; var Annotations: Record "Agent Annotation") | - | public | 27-29 | - | - |
| GetAgentTaskUserInterventionSuggestions | (AgentTaskUserInterventionRequestDetails: Record "Agent User Int Request Details"; var Suggestions: Record "Agent Task User Int Suggestion") | - | public | 27-29 | - | - |
| GetAgentTaskPageContext | (AgentTaskPageContextRequest: Record "Agent Task Page Context Req."; var AgentTaskPageContext: Record "Agent Task Page Context") | - | public | 27-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.
