How to pass files between oic integrations
Summary:
I am creating a utility flow which uploads file to UCM. This flow will be invoked by other integrations. I have to pass zipped file along with some other data to this integration. I see there are multiple options to pass file between integrations. Can somebody help me understand if any of these are anti-patterns or not recommended by oracle.
Option1 : Convert file reference in parent flow to base64 data using encodeReferenceToBase64 (limit 10 MB as per oic gen3 service limit) and pass this in json body along with other data.
Option2: If my child flow is synchronous, Pass file reference from parent to child in json body along with other data. Since parent flow will be active, I am able to use this file reference and not getting any errors.