Hi,
I am sending this JSON with the request body in process-definition/start
“upload”: {
“0”: [
{
“value”: “c2FtcGxl”,
“tabId”: 0,
“type”: “file”,
“valueInfo”: {
“filename”: “untitled.txt”,
“mimeType”: “text/plain”
}
},
{
“tabId”: 0,
“type”: “file”,
“valueInfo”: {
“filename”: “index.html.txt”,
“mimeType”: “text/plain”
}
}
],
“1”: [],
“2”: [],
“3”: []
}
How can I retrieve this in Camunda?
I can use FileValue fileMetaData = delegateExecution.getVariableTyped("upload");
To retrieve this JSON data:
“upload”:{
“value”:“YQ==”,
“type”:“File”,
“valueInfo”:{
“filename”:“untitled.txt”,
“mimeType”:“text/plain”
}
}
But to retrieve the JSON array, how can I retrieve the “upload data”