How can I display OptionList process variable in Select widget in bonitasoft

i wonder if can i display OptionList process variable in Select widget in bonitasoft ?

  • I have used this API in form to retrieve my variable called outcome :

../API/bpm/caseVariable/12078/outcome

caseVariable: ../API/bpm/caseVariable?p=0&c=10&f=case_id=12078

i get this : {"case_id":"12078","name":"outcome","description":"","type":"java.lang.String","value":"house"}