As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
I want to attach a file with a task using activiti rest api call but activiti is returning exception as "Failed to serialize to a AttachmentRequest instance" .
Saurabh,
I've attempted the following multipart/form-data call:POST /api/runtime/tasks/{taskId}/attachmentsFile: <specified file> (I used a .jpeg)
Name: <named the file>
Description: <this field is optional>
I receive a 201 CREATED back from Activiti.Could you lay out the query you're making with a little bit more detail, and verify that you're trying to attach to a running/live task instance? It would also help if you included the stacktrace from the logs when this exception occurs.Thanks,-JEarles