Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Need to update a Journal field

PraveenPadmanab
Kilo Explorer

I need to update a journal field.

Can anyone please provide me the syntax for updating a journal field.

1 REPLY 1

jason_petty
Tera Expert

I have been able to do it in two different ways. Examples:

Comments Field:
target.comments.setJournalEntry(source.u_comments); //This will set comments with a value.
target.comments = "" + source.comments; //Also will set it.

Work Notes Field:
target.work_notes.setJournalEntry(source.u_worknotes); //This will set work_notes with a value.
target.work_notes = "" + source.work_notes; //Also will set it.