ActivityFunctionsGetHighestClassification Method

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.

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 string GetHighestClassification(
	ActivityContext context,
	bool useRecordClassification,
	IEnumerable<string> recordIds,
	params string[] fallBackClassification
)

Parameters

context  ActivityContext
The activity context.
useRecordClassification  Boolean
If false the record classifications are not considered
recordIds  IEnumerableString
The records from which the higest ranking classification will be found.
fallBackClassification  String
Ordered list of classifications used if no record classification

Return Value

String
The calculated classification value.

See Also