ValidationHelperIsSubjectValid Method

Scanjour Workflow4 Reference Manual
Validates whether subject is valid

Namespace:  Scanjour.Workflow4.ActivityLibrary
Assembly:  Scanjour.Workflow4.ActivityLibrary_19.0.1.0 (in Scanjour.Workflow4.ActivityLibrary_19.0.1.0.dll) Version: 19.0.1.0 (19.0.1.0)
Syntax

public static bool IsSubjectValid(
	ActivityContext context,
	string subject,
	out string errorMessage
)

Parameters

context
Type: System.ActivitiesActivityContext
Activity context
subject
Type: SystemString
The subject text
errorMessage
Type: SystemString
Message in case of error

Return Value

Type: Boolean
Returns true if subject is provided and the text does not exceed MaxSubjectLength, otherwise false
See Also

Reference