- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2021 05:50 AM
I have a requirement :
ticket is automatically closed via workflow activity with comments and closed notes. Now the comments should not updated by the current user. It should be displayed as System updated the comments.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2021 06:57 AM
you can use
current.comments.setJournalEntry(your comments, 'system');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2021 06:20 AM
If you add a timer it will do the Workflow steps after it as system (as it will run asynchronous):
Other option is add a script action and script it like they did here in a business rule (so use it in script block in workflow and make changes accordingly):
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2021 06:57 AM
you can use
current.comments.setJournalEntry(your comments, 'system');