- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2018 12:28 AM
Hi all,
I want to get Total no of active incidents count should be displayed after submission of an incident record as a message.How can I get the same.
Solved! Go to Solution.
- Labels:
-
User Interface (UI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2018 03:25 AM
Hi,
Use below code in After BR on incident table,
var inc = new GlideRecord('incident');
inc.addActiveQuery();
inc.query();
gs.addInfoMessage("Records in incident table: " + inc.getRowCount());
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2018 04:15 AM
Hi Shweta,
Thank you. I have one more query can you please help me on this as well.
when I'm trying attach any document to an incident, currently its showing like( see attached screenshot). Now I want to update one comments saying
username attached a document in worknotes
example : babu attached a document "test file".
please help me how can I achieve the same'