Enum form element set by input parameter

Good day,

How can an enum form element be set in a user task via an input parameter per javascript in the Modeler?

How must a JSON object be structured via javascript?

Thank you very much.