Hello Team,
I am new to this tool,
Could you please help me to fix this painless script.
I am trying get new scripted field with [ResTime] value when [Region] is "APJ" else blank.
if (doc['Region'].value == 'APJ') {
return doc['ResTime'].value ;
} else {
return null ;
}
Thanks in Advance.