Syncronous response of REST call using RPA
We need to return the result of the processing of a robot, in the RPA model, using the Robot Manager.
In the current model, the Pega platform receives the REST call from the client, places it in the Robot Manager queue and returns an "OK", terminating the connection. What we need is for the platform to keep the connection open until the end of the robot's processing and to return the result of that processing within the same call to the client.
NOTE: We are already setting the "completed" behavior at the end of execution, but with the same we can not get the processed data.
NOTE 2: We know how to use the REST component, however we need this data to be returned on the same call, and not sent to another REST API.