Visual Builder

Get Involved. Join the Conversation.

Topic

    Sai Reddy
    How to display Business Objects error message in VBCS page
    Topic posted August 14, 2019 by Sai Reddy, tagged Business Objects, Groovy 
    17 Views, 2 Comments
    Title:
    How to display Business Objects error message in VBCS page
    Summary:
    Display business objects error message as Fire Notification in VBCS page
    Content:

    Hi All,

     

    I have Object Validators and Field Validators defined at Business Object level. Now I need to display those validation failure messages in VBCS page as Fire Notification messages.

    I have tried with response body but not able to drill down error message cause of "o:errorCode"

    Response body of Field Validator condition failure:

    {
        "type": "HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1",
        "status": 400,
        "title": "Bad Request",
        "detail": "{\"title\":\"Bad Request\",\"status\":\"400\",\"o:errorDetails\":[{\"detail\":\"Actual Landing Validation with Flight Date is Failed\",\"o:errorCode\":\"ValidatorError1\",\"o:errorPath\":\"/actualLandingTime\"}]}"
    }

     

    Thanks,

    Sai

     

     

    Comment