Making Custom Menu Lists as Input Parameter


I currently have the following component:

The goal is to make a menulist similar to the one seen attached to iF for the input iS as well. The user is the select an option from iF and based on that, the appropriate list for iS populates. iF listmenu is currently being generated in the BeforeSolveInstance() function. However, since iS depends on getting the input from iF first, I’m trying to create the listmenu for iS in the SolveInstance function. Right now, the problem is that the list is not showing up after it’s created and I’m not sure how to get it to show up since SolveInstance occurs after RegisterInputParameters.

This is the code I have in SolveInstance for create the iS menu:

Thanks for your help!