My Oracle Support Banner

New Line (\n) character In Siebel Rest API Response When Using DVM In Workflow For Sending Message (Doc ID 2779186.1)

Last updated on JUNE 01, 2021

Applies to:

Siebel CRM - Version 21.3 and later
Information in this document applies to any platform.


DVM validation message is appending with /n once getting the response from external system when publishing business service as REST API

Replication Steps:


1)Login to Siebel Application

2)Go to sitemap--Administration - Data Validation

3)Create new rule

Name: TestDVM

Business Component: Account

Business Object: Account

4)Create new Validation Rule

Name: TestDVM

Error Code: 101

Error Message: Tax amount is not null for exemption.

Expression: [Account Status] IS NULL

5)Activate the Rule

6)Login to Siebel Tools

7)Create new workspace

8)Create new workflow

Name: TestDVM

Create steps as below


b)'Data Validation Manager' business service with 'Validate' Method


9)Create new Business Service to Invoke the workflow

Name: InvokeBS

Method: Test

Inputs: ObjectId



10)Deliver the workspace

11)Login to Siebel Application

12)Go to Sitemap--Administration - Application--Business Service Access

13)Create new record

Name: InvokeBS

Add responsibility as 'Siebel Administrator'

Add Method as 'Test'

14)Open 'Postman'

15)Invoke the Business Service with below end point URL with POST method from Postman




"ObjectId": "1-GOUL"



Once invoking the REST API, getting the below response:

"ErrorMsg": "Tax amount is not null for exemption.\n",

Note: Data validation error message is appending with \n along with the

error. i.e "Tax amount is not null for exemption.\n"




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.