Hello, i am trying send message to camunda
var correlationResult = new MessageApi(client).deliverMessage(
new CorrelationMessageDto().messageName(messageName).correlationKeys(correlationKeys).processVariables(values));
but i have an error - catch ApiException exception;
Then i am trying send message by postman -
"type": "ProcessEngineException",
"message": "ENGINE-02025 Variable 'name2' is not of the expected type 'Collection'."
runtimeService.createProcessInstanceByKey("main_workflow")
.setVariable("name1", requestBody.get1())
.setVariable("name2", list1)
.setVariable("name3", list2)
.executeWithVariablesInReturn();
How should i send event?