ValidationHelperIsSubjectValid Method

Scanjour Workflow4 Reference Manual
Validates whether subject is valid

Namespace:  Scanjour.Workflow4.ActivityLibrary
Assembly:  Scanjour.Workflow4.ActivityLibrary_23.3.0.0 (in Scanjour.Workflow4.ActivityLibrary_23.3.0.0.dll) Version: 23.3.0.0 (23.3.0.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