Codeunit 4312 Agent Session

System Application, System.Agents

Source AL, 37 lines

src/System Application/App/Agent/Interaction/AgentSession.Codeunit.allines 8 to 23 of 37, Copyright (c) Microsoft Corporation. MIT

codeunit 4312 "Agent Session"{    InherentEntitlements = X;    InherentPermissions = X;    /// <summary>    /// Checks if the current session is an agent session.    /// </summary>    /// <param name="ActiveAgentMetadataProvider">Returns the type of the active agent</param>    /// <returns>    /// True if the current session is an agent session, false otherwise.    /// </returns>    procedure IsAgentSession(var ActiveAgentMetadataProvider: Enum "Agent Metadata Provider"): Boolean    var        AgentUtilities: Codeunit "Agent Utilities";    begin

All 37 lines

Public procedures 2 in 29

IsAgentSession(var ActiveAgentMetadataProvider: Enum "Agent Metadata Provider"): Booleannew in 26
GetCurrentSessionAgentTaskId(): BigIntegernew in 26