- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2014 02:55 AM
Hi,
I tried to check in a mail script and a business rule if a field of journal type is empty,
what is the best way to do it? does it different if i'm using "Journal Input" field?
thank you!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2014 03:09 AM
Hi Eli,
Journal field will always be empty.
You can check with below line:
current.fieldName.getJournalEntry(-1);// It will bring all the journal entries which were added to this
If empty then no entries were added.
Using Journal Fields - ServiceNow Wiki
Please mark answer correct if it was.
Thanks,
Darshan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2014 04:29 AM
Sys ID of the record to be specific for Querying the sys_journal_field table.
Thanks,
Subhajit