Bad choice is creating for the clousure code in service now

rajamusani
Tera Contributor

Hi Team

 

we have inbound transform map for the incident creation

we have field called "closure code" for this we have choice type of "create" mentioned in transform map level

 

if the integration try to send some space characters, it is creating a extra choice by the integration id.

 

so to resolve this problem we are trying to use the trim method .This also seems not helping

 

 

var closecode = 'Solved ';
var stringvalue = closecode.toString();
var trimvalue = stringvalue.trim();
 
with this trim value i am comparing the choice against the choice table, seems it is not helpful.
 
Please suggest if anybody come across this situation.

 

0 REPLIES 0