ActivityFunctionsGetHighestClassification Method

Scanjour Workflow4 Reference Manual
Gets the highest ranking active classification of the provided documents If no active classifications on any of the the documents returns the first active classification from the fallback classifications If there is no active fallback classification the default classification for the system is returned.

Namespace:  Scanjour.Workflow4.ActivityLibrary
Assembly:  Scanjour.Workflow4.ActivityLibrary_21.3.0.0 (in Scanjour.Workflow4.ActivityLibrary_21.3.0.0.dll) Version: 21.3.0.0 (21.3.0.0)
Syntax

public static string GetHighestClassification(
	ActivityContext context,
	bool useRecordClassification,
	IEnumerable<string> recordIds,
	params string[] fallBackClassification
)

Parameters

context
Type: System.ActivitiesActivityContext
The activity context.
useRecordClassification
Type: SystemBoolean
If false the record classifications are not considered
recordIds
Type: System.Collections.GenericIEnumerableString
The records from which the higest ranking classification will be found.
fallBackClassification
Type: SystemString
Ordered list of classifications used if no record classification

Return Value

Type: String
The calculated classification value.
See Also

Reference