Set output variable

How can i set up output variable in camunda modeler in standalone mode(without using java code)?

You can find the Output Parameters in the properties section of any element. There you can specify the name of the variable, its type and value.

Thankyou Sdibernardo, i tried it. But when i am hitting url using camunda server. I am not getting any response in postman. Postman says “No Content”. My requirement is that i need the response back in postman.

i just attached screenshot @Mukul_Kumar

Hi @rizwan,

you have to add an extra parmater inside the request body “withVariablesInReturn”: true like-

    {"aVariable": {"value": "aStringValue"},
    "anotherVariable": {"value": 42},
    "aThirdVariable": {"value": true}},
 "withVariablesInReturn": true

This will return the variables as an response with status 200.

for more refer:

Hope this will helps you.

1 Like

Its working . Thanks a lot :slight_smile: @Mukul_Kumar

No problem buddy, Happy to help you @rizwan and mark it as solution for the others users to check easily.

we have long way to go, we will be in touch :slight_smile: