There will be two drop down boxes. Based on selection of first drop down box, 2nd drop down data will be populated. User can choose multiple options in 2nd box. After submitting, selected options will be copied in excel file.
Both the boxes data will be derived from excel sheet or SQL server (if possible).
Screenshot is not possible. I tried to modify the sample provided on UiPath support page where C# code is evoked. But I don’t know how to pass variable to the code.
You dont need to essentially have an invoke code. Here the invoke code to just to populate the list. In your case you can even read the excel file and generate a list from that and assign to a list variable. Then pass this list variable to the in argument as mentioned on the documentation.