Server side : get value from "current.value" which is passed as string

JayaPrakash4
Tera Contributor

Hey,

I am trying to map soap fields which are stores as record values in a table.

So I wanted to know if its possible to get "current.value" which is passed as string from table record.

Ex :

Var x = current.number; // where x will be "INC0010001" etc...

but I have requirement to pass as follows:

var gr = new GlideRecord("u_integrationmapingfields");

gr.query();

while (gr.next()) {

        gs.addInfoMessage(gr.u_localfield ); // Here I need output as "INC0010001", instead its giving me output as "current.caller_id"

}

Record of u_integrationmapingfields will be as follows :

So is it possible to get output as "INC0010001" when passed gr.u_localfield ?

Any help is very much appreciated.

Thanks.

5 REPLIES 5

Oh, I see... You wanted to convert a value in the field to a current object. Let me check...