Hi @akkujain93,
the correct payload in your case would probably be:
{
"workerId": "Akku",
"variables": {
"additionalJsonInfoObject": {
"value": "{ \"project\": \"test\", \"region\": \"test\" }",
"type": "Json"
}
}
}
Your type should be Json
and the value should be the serialized JSON.
This however only works if Spin is correctly configured with your Spring Boot application.
You mentioned that camunda-engine-plugin-spin
and camunda-spin-dataformat-json-jackson
are part of your application dependencies. The exception message you are receiving however rather points to Spin not being on your classpath and therefore not loaded in your application.
Maybe you can show a little bit more from your pom.xml
?
It should explicitly contain both dependencies mentioned.
Best,
Tobias