My Oracle Support Banner

Activity Execution log to be enhanced to capture REST call response. (Doc ID 2803176.1)

Last updated on MARCH 04, 2022

Applies to:

Oracle Financial Services Analytical Applications Infrastructure - Version and later
Information in this document applies to any platform.


Output of Activity Execution log displayed in Process Monitor screen is not complete.

Scenario: Customer calls a REST service inside a PMF workflow which would return error JSON(with specific error message) when the rest service fails as below. However, this is not captured in activity execution log to check directly from UI in Process Monitor screen and ascertain why the failure happened.

OFSAA.log< Deployed_Layer>
[20-07-21 06:39:19,613 GMT AM] [DEBUG] [WEB] [NA] [NA] REST Response code is : 400
[20-07-21 06:39:19,613 GMT AM] [DEBUG] [WEB] [NA] [NA] response.getStatus()....400
[20-07-21 06:39:19,613 GMT AM] [DEBUG] [WEB] [NA] [NA] Output from Server ....
[20-07-21 06:39:19,613 GMT AM] [DEBUG] [WEB] [NA] [NA] {"fcubsErrorResp":{"error":[{"ecode":"ST-CNC961","edesc":"Customer Record Is locked by 009207 so case can not be Closed "},{"ecode":"ST-SAVE-004","edesc":"無法保存"}]}}
[20-07-21 06:39:19,613 GMT AM] [DEBUG] [WEB] [NA] [NA] response.getStatus()....400
[20-07-21 06:39:19,613 GMT AM] [DEBUG] [WEB] [NA] [NA] response.readEntity(String.class)....{"fcubsErrorResp":{"error":[{"ecode":"ST- CNC961","edesc":"Customer Record Is locked by 009207 so case can not be Closed "},{"ecode":"ST-SAVE-004","edesc":"無法保存"}]}}
[20-07-21 06:39:19,613 GMT AM] [DEBUG] [WEB] [NA] [NA] Rest service invocation response.. {"responseDescription":"Bad Request","response":"Bad Request","responseText":"{\"fcubsErrorResp\":{\"error\":[{\"ecode\":\"ST-CNC96 1\",\"edesc\":\"Customer Record Is locked by 009207 so case can not be Closed \"},{\"ecode\":\"ST-SAVE-004\",\"edesc\":\"無法保存\"}]}}","status":false,"responseCode":"400"}

Actual Behavior: Below error is shown in Activity Execution log Process monitor UI when there is REST call error.
"The Rest API called failed with Exception :::java.lang.Exception: REST call error"

Business impact:
Message displayed in activity execution log as of now is as above which is not sufficient for customer to ascertain why the failure happened. The message details in OFSAA.log above would help. So the expectation is to capture these details in activity execution log.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.