How to push OS Details from Source field data to Custom Field

Talari Balateja
Tera Expert

Hi,

 

I stuck in requirement. I want to push OS Details to custom field from Source field. Attaching sample source data please check it and help me implement this feature. 

 

Source field table: Discovered Item (sn_sec_cmn_src_ci)

 

Source Data.png

Regards,

Sanju.

5 REPLIES 5

OlaN
Giga Sage
Giga Sage

Hi,

This looks like a standard JSON formatted string.

What's the issue? What do you need help with ?

Hi @OlaN 

 

Yes, it is JSON format string. Requirement is I want to Copy OS details to custom field from Source Data.

 

Regards,

Sanju.

Okay,

let me give an example, and see if it helps you.

var sourceDataObj = {"tags":["CloudAgent","hello","goodbye"], "OS":"Windows", "DNS":"Home"};

gs.info('OS: ' + sourceDataObj.OS);

// Prints -->  OS: Windows

Hi @OlaN 

 

Sorry, I have query in code. How it's copying OS details to custom field

 

Regards,

Balateja