---
title: "Codeunit 4309 SOA Agent Task Execution, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/4309-soa-agent-task-execution/points/
object: https://jonas-paprotka.de/ref/codeunit/4309-soa-agent-task-execution/
app: "Sales Order Agent"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/4309-soa-agent-task-execution/source/
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 4309 SOA Agent Task Execution, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/4309-soa-agent-task-execution/points/

3 procedures and triggers with a step in src/Apps/W1/SalesOrderAgent/app/src/Validation/SOAAgentTaskExecution.Codeunit.al, in source order, read from the text, not from a run.

## AnalyzeAgentTaskMessage

[Line 17](https://jonas-paprotka.de/ref/codeunit/4309-soa-agent-task-execution/source/#L17).

- [20](https://jonas-paprotka.de/ref/codeunit/4309-soa-agent-task-execution/source/#L20) calls [Codeunit 4399 SOA Annotation](https://jonas-paprotka.de/ref/codeunit/4399-soa-annotation/) `GetAgentTaskMessageAnnotations`
- [22](https://jonas-paprotka.de/ref/codeunit/4309-soa-agent-task-execution/source/#L22) calls [Codeunit 4402 SOA Output Message Setup](https://jonas-paprotka.de/ref/codeunit/4402-soa-output-message-setup/) `PrepareOutputMessage`

## GetAgentTaskUserInterventionSuggestions

[Line 25](https://jonas-paprotka.de/ref/codeunit/4309-soa-agent-task-execution/source/#L25).

- [27](https://jonas-paprotka.de/ref/codeunit/4309-soa-agent-task-execution/source/#L27) calls [Codeunit 4400 SOA Setup](https://jonas-paprotka.de/ref/codeunit/4400-soa-setup/) `GetAgentTaskUserInterventionSuggestions`

## GetAgentTaskPageContext

[Line 30](https://jonas-paprotka.de/ref/codeunit/4309-soa-agent-task-execution/source/#L30).

- [32](https://jonas-paprotka.de/ref/codeunit/4309-soa-agent-task-execution/source/#L32) calls [Codeunit 4400 SOA Setup](https://jonas-paprotka.de/ref/codeunit/4400-soa-setup/) `GetAgentTaskPageContext`

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
