---
id: object/table/4357
type: object
title: Table 4357 "Agent Task Template"
summary: Table 4357 "Agent Task Template" in AgentDesignExperience (System.Agents.Designer). 9 fields. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - table
  - agentdesignexperience
versions:
  introduced: "29"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 43a9ee780f58f30be9ec5fd2a010289b29b709c568e02f8804b005c812b4c368
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/AgentDesignExperience/app/Interaction/Template/AgentTaskTemplate.Table.al
    title: src/Apps/W1/AgentDesignExperience/app/Interaction/Template/AgentTaskTemplate.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 4357
name: Agent Task Template
namespace: System.Agents.Designer
app: AgentDesignExperience
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 9
  procedures: 2
  events: 0
  subscribers: 0
relations:
  out: 2
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 1
  called_by: 0
  implements: 0
---

# Table 4357 "Agent Task Template"

> Table 4357 "Agent Task Template" in AgentDesignExperience (System.Agents.Designer). 9 fields. Introduced in BC29, still in BC30.

AgentDesignExperience · System.Agents.Designer · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/AgentDesignExperience/app/Interaction/Template/AgentTaskTemplate.Table.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Agent Task Template |
| Access | Internal |
| Extensible | false |
| DataClassification | CustomerContent |
| LookupPageId | Agent Task Templates |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | ID | Integer | Specifies the unique identifier of the agent task template. | DataClassification SystemMetadata |
| 2 | Name | Text[150] | Specifies the name of the agent task template. |  |
| 3 | Task Title | Text[150] | Specifies the title of the agent task. |  |
| 4 | Task External Id | Text[2048] | Specifies the external ID of the agent task. |  |
| 5 | Include Message | Boolean | Specifies whether to include a message in the agent task. | DataClassification SystemMetadata |
| 6 | Message Template ID | Integer | Specifies the ID of the message template to be used in the agent task. | DataClassification SystemMetadata |
| 7 | Sample Agent Code | Code[20] | Specifies the code used for indentifying templates which were not created by users, for example, templates provided by extensions. | DataClassification SystemMetadata |
| 8 | Description | Text[250] | Specifies the description of the agent task template. |  |
| 100 | Message Template Name | Text[150] | Specifies the name of the message template to be used in the agent task. | FlowField: lookup("Agent Message Template".Name where(ID = field("Message Template ID"))) |

## Keys

- Key1: ID (clustered)

## Procedures

2 local procedures, no public ones.

## Triggers

OnInsert, OnModify, OnRename, OnDelete

## Relations

- lookup page [Page 4361 "Agent Task Templates"](../page/4361.md)
- Message Template Name: CalcFormula [Table 4356 "Agent Message Template"](../table/4356.md)

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 4362 "Agent Designer Permissions"](../codeunit/4362.md) (1 call: `ValidatePermissions → VerifyCurrentUserCanManageTemplates`)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "table", object_name: "Agent Task Template")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
