ValidationHelperCanDispatcherSequenceSend Method

Validates if any dispatcher in a sequence can send a message

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 ValidationResult CanDispatcherSequenceSend(
	CodeActivityContext context,
	IEnumerable<string> dispatcherIds,
	List<string> recordIds,
	string addressKey,
	List<CustomParameter> parameters
)

Parameters

context  CodeActivityContext
Activity context
dispatcherIds  IEnumerableString
List of dispatcher ids
recordIds  ListString
List of record ids
addressKey  String
Key to the address entity.
parameters  ListCustomParameter
Dispatcher specific parameters

Return Value

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