How to pass through an AIS Connector RestAPI FileResponse to the Upload Attachment in Orchestration?
How to pass through an AIS Connector RestAPI FileResponse (for example pdf) to the Upload Attachment in Orchestration?
Use Case:
- We call an external RestAPI which accept PDF in the response.
- We want to pass through the pdf file to a Attachment Upload File to ABGT (Address Number) to save the PDF as Attachment on Customer ABGT Address Book Record
What we did right now is on TR 9.2.6.1, we was able to call the RestAPI and the Response as PDF was saved on the AIS Temp Directory on AIS Server.
The challenge now is, to grap this file from the temp directory and save it as attachment on the address book record in the ERP System. In TR9.2.6.1 there is a new feature to save File with the AIS Function Upload File (Attachment). But we have problems to pass through the file from the 1 step(Connector RestAPI) to the 2 step (Upload File to Attachment) in the orchestration.