Creating inputs dynamically based on the value of the inputs


A variable change will trigger a new solution.
However it is impossible to add or remove input or output parameters during a solution.
What you will have to do is to schedule a new solution with a callback method.
In that method, modify the inputs and outputs, expire the component and toggle a private bool variable so the component actually knows he needs to skip that process on the next solution.

See :

1 Like