Skip to main content
akshays0003
November 10, 2021
Question

what is the Max limit of creating rule inputs in an expression or in a Interface?

  • November 10, 2021
  • 5 replies
  • 0 views

what is the Max limit of  creating rule inputs in an expression or in a  Interface? is there anylimit

    5 replies

    stewart.burchell
    November 10, 2021

    There may be but I am not aware of what it might be. Why do you want to know? Note that the more inputs to either object type the less understandable./maintainable the object is likely to become.

    akshays0003
    November 10, 2021

    just wanted to know the effect , as i have many interfaces in my app which have more than 20 rule inputs.

    stewart.burchell
    November 10, 2021

    Without a review of the interfaces it's hard to say if they're poorly designed (i.e. perhaps they should be decomposed into smaller objects with less rule inputs each). The effect is likely to be around understanding who they work and the effort required to full test them. There are no real run-time effects as a rule input is simply a "pointer" to a piece of memory that holds a value and whether you have one interface with 20 rules inputs, or 4 interfaces with 5 rule inputs each the run-time effect is the same.