Input Parameter Variable Type JSON

I attached my test bpmn, I basically want to be able to set the Input parameter (see the attached screenshot) and return the value as JSON type, right now it is returned as string using Javascript. Is there a way to do so?

Preferably I want to use JUEL and not Javascript, is there even a way to do achieve what I need in JUEL? Thanks for the helps.

test.bpmn

(4.2 KB)

For usage of JUEL for Input/Output, please see this section of documentation: https://docs.camunda.org/manual/latest/user-guide/process-engine/expression-language/#inputoutput-parameters

Regarding JSON, see this part: https://docs.camunda.org/manual/latest/user-guide/data-formats/json/#expression-language-integration

Thanks for your reply barmac.

Based on my readings on the documentation, I feel that there is really no way to return JSON type using expression language or other scripts in the Input Parameter.

Did I miss anything?

@vonny
I absolutely agree.
See the enhancement request I created yesterday.


Pile on if you think these goals address your concern(s).