An event is raised for REST-based actions to support post-processing

An event is raised for REST and Object function based actions to support post-processing after headless actions are executed.

Admin can write code once REST is called and use the response as needed. 

Steps to Enable and Configure

Leverage the Visual Builder Studio to expose your applications. To learn more about extending your application using Visual Builder, visit Oracle Help Center > your apps service area of interest > Books > Configuration and Extension.

For example in opportunities OnAfterSmartActionExecutedEventListener, Admin can use following to get the response from REST.

event.afterSavePayload.actionResponse.body.result.responseCode;

event.afterSavePayload.actionResponse.body.result.responseBody