Source AL, 339 lines
src/System Application/App/Agent/Interaction/AgentTask.Codeunit.allines 10 to 25 of 339, Copyright (c) Microsoft Corporation. MIT
codeunit 4303 "Agent Task"{ InherentEntitlements = X; InherentPermissions = X; /// <summary> /// Check if a task exists for the given agent user and conversation /// </summary> /// <param name="AgentUserSecurityId">The user security ID of the agent.</param> /// <param name="ExternalId">The external ID to check.</param> /// <returns>True if task exists, false if not.</returns> procedure TaskExists(AgentUserSecurityId: Guid; ExternalId: Text): Boolean var AgentTaskImpl: Codeunit "Agent Task Impl."; begin FeatureAccessManagement.AgentManagementAllowed(true);
All 339 lines
Public procedures 23 in 29
| TaskExists(AgentUserSecurityId: Guid; ExternalId: Text): Boolean | new in 25changed in 27 |
| CanSetStatusToReady(AgentTask: Record "Agent Task"): Boolean | new in 26 |
| GetTaskByExternalId(AgentUserSecurityId: Guid; ExternalId: Text): Record "Agent Task" | new in 27 |
| SetStatusToReady(var AgentTask: Record "Agent Task") | new in 27 |
| Pending, tag 29.0, obsolete since 29: Use the overload that takes AgentTaskID instead. |
| StopTask(var AgentTask: Record "Agent Task"; UserConfirm: Boolean) | new in 27 |
| Pending, tag 29.0, obsolete since 29: Use the overload that takes AgentTaskID instead. |
| RestartTask(var AgentTask: Record "Agent Task"; UserConfirm: Boolean) | new in 27 |
| Pending, tag 29.0, obsolete since 29: Use the overload that takes AgentTaskID instead. |
All 25 procedures in 25-29
Changes 6 in 29
| SetStatusToReady(var AgentTask: Record "Agent Task") | new in 27 |
| marked Pending, tag 29.0: Use the overload that takes AgentTaskID instead. |
| StopTask(var AgentTask: Record "Agent Task"; UserConfirm: Boolean) | new in 27 |
| marked Pending, tag 29.0: Use the overload that takes AgentTaskID instead. |
| RestartTask(var AgentTask: Record "Agent Task"; UserConfirm: Boolean) | new in 27 |
| marked Pending, tag 29.0: Use the overload that takes AgentTaskID instead. |
| GetStepsDoneCount(AgentTaskID: BigInteger): Integer | new in 29 |
| added |
| OpenAgentTaskLogEntries(AgentTaskID: BigInteger) | new in 29 |
| added |
| ArchiveTask(AgentTaskID: BigInteger; UserConfirm: Boolean) | new in 29 |
| added |
All 29 changes in 25-29