transform script

Priya123
Tera Contributor

am having a transform script where i update approval set Date time field type on customer project table 

basically, if the import set has values other than dates leave it blank else fill it with the date

The 1st time its happening correct (like blank when no date and date when present)

but after that if i test it by making a row blank , after a date is filled , the previous value is set and not blanking. any idea?

8 REPLIES 8

Peter Bodelier
Giga Sage

Hi @Priya123 

 

You'll have to check 

PeterBodelier_0-1699360065529.png

 

On the transform map.

 

Please note that this will be the case for all empty fields in your source.


Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.

Priya123
Tera Contributor

checked that option too but did not work... the values in script are coming in Right while settign the value is nt happening and retaining the old value

In that case, please share your script. Without it, I cannot help you further.


Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.

Ankur Bawiskar
Tera Patron
Tera Patron

@Priya123 

please share screenshots of field map script or transform script

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader