I have a requirement like, I have to create a case using service rest and this case should have also attachments attached if any.
I was able to create a case using service rest and I am using a rest connector for pulling attachments, I can download this attachment pulled from Rest Connector using a jave line.
Now, my requirement is I want to attach the attachment pulled from Rest Connector to a case. Can anyone help me with this, please?
If it is PDF you can call AttachToWork OOTB activity. It has 3 mandatory params.
PDFName - You can give a name for the PDF attachment.
PDFDocument - Assuming you have base 64 data from response in Param.ResponsePdf then you can pass the value of @Base64ToPDF(Param.ResponsePdf) to this param.