ValidationHelperCanDispatcherSequenceSend Method

Scanjour Workflow4 Reference Manual
Validates if any dispatcher in a sequence can send a message

Namespace:  Scanjour.Workflow4.ActivityLibrary
Assembly:  Scanjour.Workflow4.ActivityLibrary_23.2.0.0 (in Scanjour.Workflow4.ActivityLibrary_23.2.0.0.dll) Version: 23.2.0.0 (23.2.0.0)
Syntax

public static ValidationResult CanDispatcherSequenceSend(
	ActivityContext context,
	IEnumerable<string> dispatcherIds,
	List<string> recordIds,
	string addressKey,
	List<CustomParameter> parameters
)

Parameters

context
Type: System.ActivitiesActivityContext
Activity context
dispatcherIds
Type: System.Collections.GenericIEnumerableString
List of dispatcher ids
recordIds
Type: System.Collections.GenericListString
List of record ids
addressKey
Type: SystemString
Key to the address entity.
parameters
Type: System.Collections.GenericListCustomParameter
Dispatcher specific parameters

Return Value

Type: ValidationResult
If the dispatcher could send the message, then validation result without any registered errors are returned. Otherwise the validation result contains the reasons why no dispatcher could send the message.
See Also

Reference