Click or drag to resize

ValidationResultBaseStateTransitionNotCorrect Method

Report incorrect state transition from and to details.

Namespace:  MFiles.VAF.Configuration
Assembly:  MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
public virtual void StateTransitionNotCorrect(
	IConfiguration configuration,
	MFIdentifier transition,
	MFIdentifier workflow,
	MFIdentifier fromState,
	MFIdentifier toState,
	bool required,
	bool validate
)

Parameters

configuration
Type: MFiles.VAF.ConfigurationIConfiguration
The module configuration that is being validated.
transition
Type: MFiles.VAF.ConfigurationMFIdentifier
The transition identifier (alias, guid, id).
workflow
Type: MFiles.VAF.ConfigurationMFIdentifier
The workflow identifier that is expected to contain the state (alias, guid, id).
fromState
Type: MFiles.VAF.ConfigurationMFIdentifier
The from state identifier (alias, guid, id), this or toState can be empty.
toState
Type: MFiles.VAF.ConfigurationMFIdentifier
The to state identifier (alias, guid, id), this or fromState can be empty.
required
Type: SystemBoolean
Is the reference required, or optional
validate
Type: SystemBoolean
True if the validation action should be performed.
See Also