Transform map script to update additional comments to a ticket

Vamshi_ch123
Tera Contributor

Hi In a excel I have ticket number and additional comments fields when I'm updating this data to the ticket the additional comments showing updated by my name instead Iam trying to set this as admin or system which is not working using below script 

Vamshi_ch123_0-1683522161815.png

current.comments.setJournalEntry('u_additional_comments', 'admin');

1 REPLY 1

Sandeep Rajput
Tera Patron
Tera Patron

@Vamshi_ch123 do you have a user with user name 'admin' on your instance? Also the first parameter in the setJorunalEntry function represents the comment that you would like to add on your record. In this case u_additional_comments would be added on the record.