Codeunit "Agent Session"
ID 4312
Namespace: System.Agents
Properties
| Name | Value |
|---|---|
| InherentEntitlements | X |
| InherentPermissions | X |
Methods
IsAgentSession
procedure IsAgentSession(ActiveAgentMetadataProvider: __MissingTypeSymbol__): Boolean
Parameters
| Name | Type | Description |
|---|---|---|
| ActiveAgentMetadataProvider | __MissingTypeSymbol__ |
Returns
| Type | Description |
|---|---|
| Boolean |
GetCurrentSessionAgentTaskId
Get the agent task ID related to the current session, if any, -1 otherwise.
procedure GetCurrentSessionAgentTaskId(): BigInteger
Returns
| Type | Description |
|---|---|
| BigInteger |
The agent task ID, if any, -1 otherwise. |