Servicely Administration
Scripting
Journal API
3 min
to use this functionality, you need to be on version 1 10 or later the journal api provide easy access to journal entries, without the need to do complex queries to the underlying table this provides you the ability to get all the journal entries and the details within it (such as who made it and what date time) journal field api true left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type journal entry apis above return journal entries for a given field, the following methods are available to get data from a single entry true left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type examples table('incident','inc0000005') clientjournal activity(1); // \[{author=admin administrator, createdon=2024 05 21t19 10 44 966+10 00, value=\<p>hello world!\</p>}] table('incident','inc0000005') clientjournal activity(2)\[0] author(); // admin administrator table('incident','inc0000005') clientjournal activity(2)\[0] html(); \<p>hello world!\</p> table('incident','inc0000005') clientjournal activity(2)\[0] text(); hello world!