I know how to create a variable from the form using the createVariable with type: ‘JSON’;
How can I create this type of variable from a Listener script? Is it possible?
Thanks,
Leonardo
I know how to create a variable from the form using the createVariable with type: ‘JSON’;
How can I create this type of variable from a Listener script? Is it possible?
Thanks,
Leonardo
@homer1980 you can use the S()
function
https://docs.camunda.org/manual/7.7/reference/spin/json/
var json = S('....');
execution.setVariable('myJSON', json);
Hi Stephen, thanks a lot. Congratulations on your contributions to the Community.