If we send a variable number1 of type long ,when we start the process instance, and there is a service task inside the process which has input variable “number1” configured as type text, and value as ${number1} , now i see that type of “number1” variable at the end state is still long and not string(as we configured the type as text for input variable).
So what is the type of input/output variables exactly?
Thanks,
SIndhu.
I am not sure if I understand you correctly. Does your service task change the variable in any way?
For further clarification could you provide your model?
with the input/output mapping you can specify which values with which variablename you want to have inside your task. If you set the value as input variable, it is ONLY in this task accessible as a text because you pass it to the task as a new variable with the same name. Outside of this task the original variable remains the same. Here you can read more about the behaviour of the input/output mapping in Camunda.