Update selectbox entry programmatically

I’ve implemented a dropdown that is selectBox in my node js workflow. I have selected one value from that dropdown and then it goes in another activity and comes back the same activity where my selectBox implemented but selectBox not shows my previous selected value (it is in the reset state and the business object has that selected value). How to update my selectBox value programmatically? My code is below,

export default function(group, element, translate, dropdownOptions, ddName, _id) {

  if (is(element, 'bpmn:StartEvent') || is(element, 'bpmn:Activity')) {
    var bo = getBusinessObject(element);
    var dropdownBox = entryFactory.selectBox(translate, {
      id: _id,
      label: ddName,
      emptyParameter: false,
      selectOptions: dropdownOptions,
      modelProperty: _id,

      get: function(element, node) {
        return bo;

      set: function setValue(element, values, node) {

        var b_obj = getBusinessObject(element);
        var selectedValues = {};
        selectedValues = values;
        prop[_id] = selectedValues[_id];
        var bo = cmdHelper.updateBusinessObject(element, b_obj, prop);
        return bo;

    if(is(element, 'bpmn:StartEvent')){
      //var selectedValues = {keyValue : attributes[_id]};
      var attributes = bo.$attrs;
      var values = attributes[_id];
      if(values != undefined){
        // Want update my selectBox here 

For further assistance, please share a CodeSandbox that reproduces your issue in a way that we can inspect it.

I can’t provide my code through codeSandbox but I share my code stuff here.

The issue creation steps are like this.

  1. I drag and drop an activity task containing the input tab. I select a value from the dropdown.
  2. Then I select other activity or in caumnda:Process area.
    3)Then I came back again on the activity task. Then go to the input tab, the dropdown value must have what I selected earlier but it shows me 1st value from datasource given to the dropdown.

How I can set value dropdown or entryFactory.selectBox programmatically?