Clear Particular Validation
  • 01 Jun 2023
  • 1 Minute to read
  • Dark
    Light

Clear Particular Validation

  • Dark
    Light

Article summary

Step Details
Introduced in Version7.0
Last Modified in Version7.0
LocationForm Rules

The Clear Particular Validations step is a component of the workflow that removes specific validations from a designated Form control, in case a Form Control has multiple Validations set on it.




Properties

Inputs

PropertyDescriptionData Type
Form ControlChoose the desired Form Control to clear validations from. The available Form Controls are under the Form Data category when picking data from the Flow.
FormControlData
Validation IssuesProvide the Validation Issue information of the Validation to clear.
List of FormControlValidationIssue


Common Errors

Error changing type [---] to [---]

The Value input is set as an incompatible data type for the Form Control chosen. To correct this, change the Value input to a compatible data type.

Exception Message:

Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Clear Validations[ClearValidations] in flow [ Rule Flow]: Error Converting Value [Parent None]. Error changing type from FormControlData to Double
 ---> System.Exception: Error Converting Value [Parent None]. Error changing type from FormControlData to Double
 ---> System.InvalidOperationException: Invalid type conversion. 'Double' not assignable from 'FormControlData'. at DecisionsFramework.Utilities.Data.DecisionsTypeHelper.ChangeType(Object value, DecisionsType targetType, Boolean convertToGenerated, Boolean isList, String errorMessage, Object[] errorParams)
   --- End of inner exception stack trace --- at DecisionsFramework.Utilities.Data.DecisionsTypeHelper.ChangeType(Object value, DecisionsType targetType, Boolean convertToGenerated, Boolean isList, String errorMessage, Object[] errorParams
 at DecisionsFramework.Design.Flow.Mapping.InputImpl.SelectValueInputMapping.GetInputValue(IDataConsumer consumer, FlowStateData currentData, DecisionsType expectedType, Boolean expectingArray, String valueName, Object parentObject, Boolean canBeNull
 at DecisionsFramework.Design.Flow.FlowStep.BuildMappingData(FlowStateData data
 at DecisionsFramework.Design.Flow.FlowStep.Start(String flowTrackingID, String stepTrackingID, FlowStateData data, AbstractFlowTrackingData trackingData, RunningStepData currentStepData)
   --- End of inner exception stack trace ---


Related Information

Articles:
Validations Overview
Active Form Flows - Validations


Was this article helpful?