---
id: object/table/4352
type: object
title: Table 4352 "Custom Agent Instructions Log"
summary: Table 4352 "Custom Agent Instructions Log" in AgentDesignExperience (System.Agents.Designer.CustomAgent). 6 fields, 2 public procedures. 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: 78a7a1b35ccbda4e8792ae176ead930edef760d280d57fbfa0e694a4101d64f7
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/AgentDesignExperience/app/CustomAgent/Setup/Instructions/CustomAgentInstructionsLog.Table.al
    title: src/Apps/W1/AgentDesignExperience/app/CustomAgent/Setup/Instructions/CustomAgentInstructionsLog.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: 4352
name: Custom Agent Instructions Log
namespace: System.Agents.Designer.CustomAgent
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: 6
  procedures: 2
  events: 0
  subscribers: 0
relations:
  out: 1
  referenced_by: 0
  pages: 1
  extended_by: 0
  event_subscribers: 0
  calls: 1
  called_by: 0
  implements: 0
---

# Table 4352 "Custom Agent Instructions Log"

> Table 4352 "Custom Agent Instructions Log" in AgentDesignExperience (System.Agents.Designer.CustomAgent). 6 fields, 2 public procedures. Introduced in BC29, still in BC30.

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

## Properties

| Property | Value |
|---|---|
| Caption | Custom Agent Instructions Log |
| Access | Internal |
| DataClassification | SystemMetadata |

## 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 | Entry No. | Integer | Specifies the unique entry number for this log entry. | AutoIncrement |
| 2 | User Security ID | Guid | Specifies the user ID of the agent. |  |
| 3 | Instructions | Blob | Specifies the instructions for the agent. |  |
| 4 | Instruction Version | Text[100] | Specifies the version description of the instructions. |  |
| 5000 | Current Instructions | Boolean | Specifies whether these instructions are the current instructions for the agent. | FlowField: exist("Custom Agent Setup" where("User Security ID" = field("User Security ID"), "Instructions Version" = field("Instruction Version"))) |
| 5001 | Read-Only Instructions | Boolean | Specifies whether the instructions are read-only. |  |

## Keys

- Key1: Entry No. (clustered)
- Key2: User Security ID, Instruction Version

## Procedures

- `GetInstructions(): Text`
- `SetInstructions(NewInstructions: Text)`

## Relations

- Current Instructions: CalcFormula [Table 4350 "Custom Agent Setup"](../table/4350.md)

## Pages and codeunits on this table

- [Page 4352 "Cust. Agent Instructions Log"](../page/4352.md) (source table)

## 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 4352 "Custom Agent Instructions"](../codeunit/4352.md) (2 calls: `GetInstructions → GetDefaultEncoding`, `SetInstructions → GetDefaultEncoding`)

## 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: "Custom Agent Instructions Log")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
