ValidationHelper.CanDispatcherSequenceSend Method

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

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

Parameters

context
Type: System.Activities.ActivityContext
Activity context
dispatcherIds
Type: System.Collections.Generic.IEnumerable<String>
List of dispatcher ids
recordIds
Type: System.Collections.Generic.List<String>
List of record ids
addressKey
Type: System.String
Key to the address entity.
parameters
Type: System.Collections.Generic.List<CustomParameter>
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