When I am having multiple results, for example., a list of 100 such jsons, I am observing that when I output map the response to a variable in the bpmn, the output variable is truncated to a certain number of characters and not the full response.
Is there a limit to the number of characters a process instance variable can hold? And, what are some feasible alternatives to overcome this issue?
Any kind of insights will be highly helpful.
Thanks in Advance.
Hi @Hariharan_B
It’s not the best practice to use giant JSONs as process variables. You might run into limitations from different places. It would be better to store big uploads/outputs/inputs somewhere and access them by some reference. There could be different approaches, for instance, storing the data in some database or some file storage service like AWS S3 / Azure Blob Storage / Google Cloud Storage.
Currently, our service is storing the data as a file in GCS. Thought that we will read the contents of the file and put it into the process variables for using the data inside the process as required.