Copy First Additional Comment from RITM and populate on description of Catalog task
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
â06-20-2022 11:35 PM
Hello All,
I need functionality to copy First additional comment from Requested item and want to populate that in description of catalog task. I have created flow in flow designer and want to copy First additional comment from Requested item and want to populate that in description of catalog task through script in data pill..
I have tried but it is getting current:

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
â06-21-2022 12:04 AM
Hi In your create catalog task action put this code under field value for description. This will populate commetns to task description
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
â06-21-2022 08:06 AM
I have created action script as it is not coming in correct format it is populated in one line as rendering HTML so can you guide me on this it is giving me undefined
(function execute(inputs, outputs) {
var add = inputs.record.comments.getJournalEntry(1);
var comments = add.record.replace('\n', '<br>');
outputs.comments = comments;
})(inputs, outputs);
please help

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
â06-21-2022 08:27 AM
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
â06-21-2022 08:51 PM
Hello can you check is any thing wrong I have pasted this is catalog task of flow in description field..