- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-05-2016 05:43 PM
Hi. I'm trying to pass data from a before business rule to an after (and / or async) business rule. g_scratchpad won't work as it's only an option for display business rules.
The reason I need to do this is current.comments and current.work_notes are not available in after or async business rules, so I need a way of forwarding it via a variable to the after / async business rules.
Any ideas on how this can be achieved?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-05-2016 06:10 PM
Nevermind. Solved it with the following code. The splice just removes the comment entry containing the author.
var comments = current.comments.getJournalEntry(1);
var lines = comments.split('\n');
lines.splice(0,1);
comments = lines.join('\n');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-05-2016 06:10 PM
Nevermind. Solved it with the following code. The splice just removes the comment entry containing the author.
var comments = current.comments.getJournalEntry(1);
var lines = comments.split('\n');
lines.splice(0,1);
comments = lines.join('\n');