Adding conditional expressions is supported by the bpmn-js-properties-panel. You may need to set it up using the Camunda provider as documented here.
If you got further questions, please attach the relevant context (what exactly do you try, what is missing; add images / screencapture to visualize your issue).