Camunda http connector- Response having more than 4000 chars

Hi

I making the rest api call using http connector. I get the response from rest api but later on it fails in persistence layer as it tries to save the output variable. I see the error in logs " Value too long for column “TEXT_ VARCHAR(4000)”.

I am just using camunda modeler and external tasks for my workflow.

  1. How to do this in Camunda? Do i need to use external task for making api call or this can be achieved using http-connector in modeler?
  2. Is there anyway to not to store these objects in DB?

Thanks

Type string has issue with 4000 symbols. Use json type for keeping data any size.
You can use cache for example redis, and return redis key as variable value.

1 Like