Input output extension

i am trying to define the inputOutput variable like this:

 <bpmn2:extensionElements>
      <camunda:inputOutput>
        <camunda:inputParameter name="c">5</camunda:inputParameter>
        <camunda:inputParameter name="d">10</camunda:inputParameter>
        <camunda:inputParameter name="e">2</camunda:inputParameter>
      </camunda:inputOutput>
    </bpmn2:extensionElements>

in the XML representation of the process

but i’m getting an error while calling it in JavaDelegate class.

public void execute(DelegateExecution execution) throws Exception {
var1= (Long) execution.getVariable(“c”);
var2= (Long) execution.getVariable(“d”);

}

Hi @GAUTAM_PATEL,

Please do not open several threads for the same topic. I’m sure @thorben will answer your question in your previous thread as soon there is time for that.

Best,
Johannes