Codeunit 4312 "Agent Session"
System Application · System.Agents
Across versions
- BC23-25not present
- BC26added
- BC272 procedures changed
- BC28-30unchanged
Neighbourhood 8 connected objects and pages
System Application · System.Agents · BC26-30 · source at ea08af5e · facts from BC29
Procedures
IsAgentSession(var ActiveAgentMetadataProvider: Enum "Agent Metadata Provider"): BooleanΔ BC27: Checks if the current session is an agent session.GetCurrentSessionAgentTaskId(): BigIntegerΔ BC27: Get the agent task ID related to the current session, if any, -1 otherwise.
Called by
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 3303 “Payables Agent” (2 calls:
IsPayablesAgentSession → GetCurrentSessionAgentTaskId,IsPayablesAgentSession → IsAgentSession) - Codeunit 4420 “SOA Task Message Reader” (2 calls:
GetLastIncomingMessageContent → GetCurrentSessionAgentTaskId,GetLastIncomingMessageContent → IsAgentSession) - Codeunit 3311 “PA Billing” (1 call:
LogPurchaseDocumentDraftLinesProcessed → GetCurrentSessionAgentTaskId) - Codeunit 4323 “SOA Awareness Notifications” (1 call:
IsBindingNeeded → IsAgentSession) - Codeunit 4360 “Custom Agent Session” (1 call:
IsCustomAgentSession → IsAgentSession) - Codeunit 4595 “SOA - KPI Track All” (1 call:
UpdateEntry → GetCurrentSessionAgentTaskId) - Codeunit 4598 “SOA Instructions” (1 call:
AddCultureToBroaderItemSearchSystemPrompt → GetCurrentSessionAgentTaskId) - Codeunit 6908 “Expense Event Subscriber” (1 call:
ValidateExpenseAgentLoginNotAllowed → IsAgentSession)
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: "Agent Session"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.