Table of Contents

Codeunit "Agent Message"

ID 4307
Namespace: System.Agents

Properties

Name Value
InherentEntitlements X
InherentPermissions X

Methods

GetText

procedure GetText(AgentTaskMessage: __MissingTypeSymbol__): Text

Parameters

Name Type Description
AgentTaskMessage __MissingTypeSymbol__

Returns

Type Description
Text

IsEditable

procedure IsEditable(AgentTaskMessage: __MissingTypeSymbol__): Boolean

Parameters

Name Type Description
AgentTaskMessage __MissingTypeSymbol__

Returns

Type Description
Boolean

DownloadAttachments

procedure DownloadAttachments(AgentTaskMessage: __MissingTypeSymbol__)

Parameters

Name Type Description
AgentTaskMessage __MissingTypeSymbol__

ShowAttachment

Shows the attachments for a specific message. If file is not supported to be shown, it will be downloaded.

procedure ShowAttachment(TaskID: BigInteger, FileID: BigInteger)

Parameters

Name Type Description
TaskID BigInteger

Task ID to download attachments for.

FileID BigInteger

File ID to download.

ShowAttachment

procedure ShowAttachment(AgentTaskFile: __MissingTypeSymbol__)

Parameters

Name Type Description
AgentTaskFile __MissingTypeSymbol__

GetAttachments

procedure GetAttachments(TaskID: BigInteger, MessageID: Guid, TempAgentTaskFile: __MissingTypeSymbol__)

Parameters

Name Type Description
TaskID BigInteger
MessageID Guid
TempAgentTaskFile __MissingTypeSymbol__

GetFileSizeDisplayText

Get the display text for the file size.

procedure GetFileSizeDisplayText(SizeInBytes: Decimal): Text

Parameters

Name Type Description
SizeInBytes Decimal

The size in bytes.

Returns

Type Description
Text

The display text for the file size.

See also