---
title: "Page 4306 Agent Tasks, extension points 27"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/page/4306-agent-tasks/points/
object: https://jonas-paprotka.de/ref/page/4306-agent-tasks/
app: "System Application"
major: 27
source: https://jonas-paprotka.de/ref/page/4306-agent-tasks/source/
checked: 2026-11-20
changed: 2026-09-24
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/"
---

# Page 4306 Agent Tasks, extension points 27

JOP-AL, https://jonas-paprotka.de/ref/page/4306-agent-tasks/points/

3 procedures and triggers with a step in src/System Application/App/Agent/TaskPane/AgentTasks.Page.al, in source order, read from the text, not from a run.

## StopTask.OnAction

[Line 106](https://jonas-paprotka.de/ref/page/4306-agent-tasks/source/#L106), trigger.

- [112](https://jonas-paprotka.de/ref/page/4306-agent-tasks/source/#L112) calls [Codeunit 4300 Agent Task Impl.](https://jonas-paprotka.de/ref/codeunit/4300-agent-task-impl/) `StopTask`

## StopTask.OnAfterGetRecord

[Line 118](https://jonas-paprotka.de/ref/page/4306-agent-tasks/source/#L118), trigger.

- [120](https://jonas-paprotka.de/ref/page/4306-agent-tasks/source/#L120) calls `SetTaskDetails`

## SetTaskDetails

[Line 123](https://jonas-paprotka.de/ref/page/4306-agent-tasks/source/#L123), local.

- [134](https://jonas-paprotka.de/ref/page/4306-agent-tasks/source/#L134) calls [Codeunit 4300 Agent Task Impl.](https://jonas-paprotka.de/ref/codeunit/4300-agent-task-impl/) `GetDefaultEncoding`

## Source

AL source 27: https://github.com/microsoft/BCApps, MIT, releases/27.x at ad459712441b2fe6cb0cf1c560563f8ec7188a93.

JOP-AL, 2026-11-20.
