Codeunit "Agent Task"
ID 4303
Namespace: System.Agents
Properties
| Name |
Value |
| InherentEntitlements |
X
|
| InherentPermissions |
X
|
Methods
TaskExists
Check if a task exists for the given agent user and conversation
procedure TaskExists(AgentUserSecurityId: Guid, ExternalId: Text): Boolean
Parameters
| Name |
Type |
Description |
|
AgentUserSecurityId
|
Guid |
The user security ID of the agent.
|
|
ExternalId
|
Text |
The external ID to check.
|
Returns
| Type |
Description |
|
Boolean |
True if task exists, false if not.
|
GetTaskByExternalId
procedure GetTaskByExternalId(AgentUserSecurityId: Guid, ExternalId: Text)
Parameters
| Name |
Type |
Description |
|
AgentUserSecurityId
|
Guid |
|
|
ExternalId
|
Text |
|
SetStatusToReady
procedure SetStatusToReady(AgentTask: __MissingTypeSymbol__)
Parameters
| Name |
Type |
Description |
|
AgentTask
|
__MissingTypeSymbol__ |
|
CanSetStatusToReady
procedure CanSetStatusToReady(AgentTask: __MissingTypeSymbol__): Boolean
Parameters
| Name |
Type |
Description |
|
AgentTask
|
__MissingTypeSymbol__ |
|
Returns
StopTask
procedure StopTask(AgentTask: __MissingTypeSymbol__, UserConfirm: Boolean)
Parameters
| Name |
Type |
Description |
|
AgentTask
|
__MissingTypeSymbol__ |
|
|
UserConfirm
|
Boolean |
|
RestartTask
procedure RestartTask(AgentTask: __MissingTypeSymbol__, UserConfirm: Boolean)
Parameters
| Name |
Type |
Description |
|
AgentTask
|
__MissingTypeSymbol__ |
|
|
UserConfirm
|
Boolean |
|
IsTaskRunning
procedure IsTaskRunning(AgentTask: __MissingTypeSymbol__): Boolean
Parameters
| Name |
Type |
Description |
|
AgentTask
|
__MissingTypeSymbol__ |
|
Returns
IsTaskCompleted
procedure IsTaskCompleted(AgentTask: __MissingTypeSymbol__): Boolean
Parameters
| Name |
Type |
Description |
|
AgentTask
|
__MissingTypeSymbol__ |
|
Returns
IsTaskStopped
procedure IsTaskStopped(AgentTask: __MissingTypeSymbol__): Boolean
Parameters
| Name |
Type |
Description |
|
AgentTask
|
__MissingTypeSymbol__ |
|
Returns
See also