codeunitCopilot & Agentsofficial - Microsoftderived - from the source, no model text

Codeunit 4352 "Custom Agent Instructions"

AgentDesignExperience · System.Agents.Designer.CustomAgent

Across versions

  1. BC23-28not present
  2. BC29-30present

Neighbourhood 8 connected objects and pages

Codeunit 4100 "Temp Blob" (calls, 4 links)Temp BlobCodeunit 425 "Data Compression" (calls, 4 links)Data CompressionCodeunit 4353 "Agent Designer Environment" (calls, 3 links)Agent Designer EnvironmentTable 4350 "Custom Agent Setup" (calls, 3 links)Custom Agent SetupTable 4352 "Custom Agent Instructions Log" (calls, 2 links)Custom Agent Instructions LogCodeunit 4321 "Agent" (calls)AgentCodeunit 4360 "Custom Agent Session" (calls)Custom Agent SessionPage 4352 "Cust. Agent Instructions Log" (calls)Cust. Agent Instructions Log

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

AgentDesignExperience · System.Agents.Designer.CustomAgent · BC29-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Access Internal
Permissions tabledata “Custom Agent Setup” = rm

Procedures

  • DownloadSelectedInstructions(var CustomAgentInstructionsLog: Record "Custom Agent Instructions Log"; AgentUserSecurityId: Guid)
  • GetInstructions(AgentUserSecurityID: Guid): Text
  • TryGetInstructions(AgentUserSecurityID: Guid; var AgentInstructions: Text): Boolean
  • RestoreInstructions(var CustomAgentSetup: Record "Custom Agent Setup"; InstructionsText: Text; InstructionsVersion: Text[100])
  • SetInstructions(var CustomAgentSetup: Record "Custom Agent Setup"; NewInstructions: Text; var InstructionsVersion: Text[100]; ForceSave: Boolean)
  • UpdateCustomAgentSetupVersionName(AgentUserSecurityID: Guid; NewVersionName: Text[100])
  • GetNextVersionNumber(var CustomAgentSetup: Record "Custom Agent Setup"): Text[100]
  • DownloadCurrentInstructions(InstructionsTxt: Text)
  • ApplyInstructionsToAgent(var CustomAgentInstructionsLog: Record "Custom Agent Instructions Log"; AgentUserSecurityId: Guid)
  • SaveInstructionsAsNewVersion(InstructionsTxt: Text; AgentUserSecurityId: Guid): Boolean
  • MarkCurrentInstructionsAsReadOnly(var CustomAgentSetup: Record "Custom Agent Setup")
  • GetDefaultEncoding(): TextEncoding (internal)
  • GetHowToWriteInstructionsUrl(): Text (internal)

Plus 8 local procedures.

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 4100 “Temp Blob” (4 calls: CreateTextBlobStream → CreateInStream, CreateTextBlobStream → CreateOutStream, DownloadMultipleInstructions → CreateInStream, …)
  • Codeunit 425 “Data Compression” (4 calls: DownloadMultipleInstructions → AddEntry, DownloadMultipleInstructions → CloseZipArchive, DownloadMultipleInstructions → CreateZipArchive, …)
  • Codeunit 4353 “Agent Designer Environment” (3 calls: RestoreInstructions → VerifyCanRunOnCurrentEnvironment, SetInstructions → VerifyCanRunOnCurrentEnvironment, TryGetInstructions → VerifyCanRunOnCurrentEnvironment)
  • Codeunit 4321 “Agent” (1 call: UpdateInstructionsOnSetupRecord → SetInstructions)

Called by

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

Evidence 1 sources