How can i get file via external task in camunda

I need to get file via external task in camunda

I have 2 user

  1. customer
  2. verifier

Customer can sent a image to verifier using base64_encode, now verifier can view that image, after verifier edit image and sent to customer , How can i get that image via external task I follow this link https://docs.camunda.org/manual/7.4/reference/rest/external-task/fetch/#result its only accept request variables type String not in File

Suggest me How can i get file via external task.

Hi @busean,

you could store store a serialized version of your image in a variable ( see here for more information). When you make a fetch request for the external task, you can also state the variable name you want to have. Thus, when fetching the external task you can also retrieve the variable with the serialized image.

Does that help?

Best,
Johannes