How to display data Dropdown from rule using database

Hi everyone i am new at Appian and i m trying  to understand how i display the labels and the choice values that comes from a DB . into a dropdown and save it in a rule input after

its throwing an error that i dont understand.

can someone explain what is my error and what is the better solution for doing this ? 

thank your

  Discussion posts and replies are publicly visible