Clear Multiple Control Validations
- 18 May 2023
- 1 Minute to read
- Print
- DarkLight
Clear Multiple Control Validations
- Updated on 18 May 2023
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Step Details | |
Introduced in Version | 7.0 |
Last Modified in Version | 7.0 |
Location | Form Rules |
The Clear Multiple Control Validations step is a component of the workflow that removes validations from designated Form controls. By integrating this step, the error messages can be effectively cleared. When paired with a Rule step, this allows the Form to adjust to different scenarios. For example, age restrictions can be lifted to enable interaction with previously disabled controls, email address formats can be considered valid, and custom business rules for data validation can be bypassed.
Properties
Inputs
Property | Description | Data Type |
---|---|---|
Form Control | Choose the desired Form Controls to clear validations from. Select Build Array as the mapping type to map all the Form Controls to clear validations. The available Form Controls are under the Form Data category when picking data from the Flow. | FormControlData |
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 Multiple Control Validations[ClearMultipleControlValidations] 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?