Input and output parameters

How can i use the input and output parameters in camunda bpm?

1 Like

Did you read this documentation section already? https://docs.camunda.org/manual/7.6/user-guide/process-engine/variables/#input-output-variable-mapping

1 Like

yes i did read those documentation.But didn’t get much from the documentation.

1 Like

Okay, so please

  • describe how you think this might work based on the documentation
  • ask specific questions to improve your understanding
3 Likes
i have created this input output variable like 

<bpmn: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>
  </bpmn:extensionElements>

how can i use these variables in my JavaDelegate class

This input mapping creates String variables with the values "5", "10", "2" respectively. If you want this to become numbers, you can write it as an EL expression like so: <camunda:inputParameter name="c">${5}</camunda:inputParameter>.

2 Likes

How can output variable be used.
Can a output variable of one task be used as input variable of other next task.

Hi Could i use Input Parameters in an Java Custom Connector ?
Regards