How can I add a Rest End Point(API) to my Microflow, for calling & executing the java code. I want to call a java code, which will return a file. This file will further used by the Microflow. Please help me out!
asked
Vivek Rawat
2 answers
1
Hi Vivek,
This How To will walk you through how to create an enpoint. Regarding files, you can export a file to Base64 and include that in the response body.
A Microflow that can process the input/parameters and calls the
Java action that will return the file
Use the return object in the Microflow
Note: you might want to run the real Microflow Async or in a Task Queue instead of directly after the REST call, because the response will wait for the Microflow to finish