Save Attachments

Saves the mail attachments of a work to the specified folder.


⬅️INPUT

Parameter

Type

Required

Description

WorkId

Guid?

✅Yes

ID of the work record

FolderPath

String

✅Yes

Folder path to save to

ExtensionFilter

String

❌No

Extension filter (e.g. "xlsx, png")

CreateFolderIfNotExist

Boolean

❌No

Whether to create the folder if it does not exist


➡️OUTPUT

Parameter

Type

Description

IsSaveAttachmentsSuccessful

Boolean

Whether the save succeeded

SaveAttachmentsMessage

String

Result/error message


⬇️MISC

Parameter

Type

Default

Description

ThrowException

Boolean

❌No

Throw exception on error