ValidationHelper Class

Provides validation

Definition

Namespace: Scanjour.Workflow4.ActivityLibrary
Assembly: Scanjour.Workflow4.ActivityLibrary_24.4.0.0 (in Scanjour.Workflow4.ActivityLibrary_24.4.0.0.dll) Version: 24.4.0.0 (24.4.0.0)
C#
public static class ValidationHelper
Inheritance
Object    ValidationHelper

Methods

CanDispatcherSend Gets the dispatcher specific validation result
CanDispatcherSequenceSend Validates if any dispatcher in a sequence can send a message
CanOriginalRecordBeDeleted Validates whether original record can be deleted, checks for valid record state, and that record is not an appendix, or referenced from other records
GdprAllowsSendingRecords Checks if GDPR classifications allow documents to be sent with SmartPost.
GetProcessOwnerAddressKey Gets the process owners addresskey
GetProcessOwnerUsername Gets the process owner username
GetValidResponsibleOu Determines the valid ResponsibleOu (Organizational Unit) of the specified record.
IsAddressValid Validates whether the recipient adresskey and any copy recipient address keys are valid
IsCombinedMessageLengthExceeded Validates whether the total length of documents exceeds the limit
IsRecordValid Validates whether main record and attachment records are valid
IsRecordValidClassification Validates whether the customlabel value of the current record is valid
IsSubjectValid Validates whether subject is valid
IsValidSmartPostParameter Check for valid process parameters.
UserCanUpdateCase Validates if user can update current case, the condition on the case being: * It exists * It is open * User has both read and write access to it.
UserHasEmailAddress Validates whether has an email address
ValidateRecordState Validates record has valid state (for deletion)
ValidDispatcherConfiguration Validates whether the dispatcher is able to send, based on its configuration

Fields

MaxCombinedMessageLength MaxCombinedMessageLength
SPDocumentSourceDomain SPDocumentSourceDomain

See Also