Codeunit 4352 "Custom Agent Instructions"
AgentDesignExperience · System.Agents.Designer.CustomAgent
Across versions
- BC23-28not present
- BC29-30present
Neighbourhood 8 connected objects and pages
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): TextTryGetInstructions(AgentUserSecurityID: Guid; var AgentInstructions: Text): BooleanRestoreInstructions(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): BooleanMarkCurrentInstructionsAsReadOnly(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
- Table 4350 “Custom Agent Setup” (3 calls:
GetInstructions → GetInstructions,SetInstructions → SetInstructions,TryGetInstructions → TryGetInstructions) - Table 4352 “Custom Agent Instructions Log” (2 calls:
GetInstructions → GetDefaultEncoding,SetInstructions → GetDefaultEncoding) - Codeunit 4360 “Custom Agent Session” (1 call:
OnAfterCustomAgentLogin → MarkCurrentInstructionsAsReadOnly) - Page 4352 “Cust. Agent Instructions Log” (1 call:
DownloadSelectedInstructions → DownloadSelectedInstructions)
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.