Validates if any dispatcher in a sequence can send a message
Namespace: Scanjour.Workflow4.ActivityLibrary
Assembly: Scanjour.Workflow4.ActivityLibrary_23.1.0.0 (in Scanjour.Workflow4.ActivityLibrary_23.1.0.0.dll) Version: 23.1.0.0 (23.1.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: ValidationResultIf 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