Enable Control
  • 01 Jun 2023
  • 1 Minute to read
  • Dark
    Light

Enable Control

  • Dark
    Light

Article summary

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

The Enable Control step selectively enables a specific Form control. Developers can dynamically control the interactivity and usability of a control based on specific conditions. This step is particularly useful when there is a need to enable user interaction with a control, such as allowing data entry or selection based on certain conditions. Pair this step with the Disable Control step to enable and disable controls based on the same criteria. 


Properties

Inputs

PropertyDescriptionData Type
Form ControlChoose the desired Form Control to enable. The available Form Controls are under the Form Data category when picking data from the Flow.
FormControlData


Common Errors

Object reference not set to an instance of an object.

The Form Control Input is not mapped to a Form Control. Evaluate the mapping to this step to correct the problem. 

Exception Message:

Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Enable Control[EnableControlStep] in flow [ Rule Flow 1]: Object reference not set to an instance of an object.
 ---> System.NullReferenceException: Object reference not set to an instance of an object. 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:
Active Form Flow Overview


Was this article helpful?