- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2020 09:44 PM
Hi Team,
I am facing below Issue
I have requirement to copy all the worknotes from HR Case to HR Task and vice versa.
While this is working using journel entry(-1), but every time a worknote is added to the HR Case all the old worknotes in HR Case are getting copied to HR Case also.
kindly suggest
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2020 01:40 AM
Hi Tahzeeb,
I have tried a mock up on my PDI and is working as expected. I have attached my design. Can you give it a try and let me know if you have any questions/issues.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2020 10:01 PM
Hi Tahzeeb,
Are you saying when you add a new work notes to a HR case, the latest work notes gets copied to HR Case again or all of the HR case work notes gets copied?
Can you post a screenshot?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2020 10:08 PM
Hi Tahzeeb,
I think, whenever you might be updating your latest work notes, you are appending with the older ones too.
Can you share your script/BR?
Regards,
BG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2020 10:19 PM
Hi Tahzeeb,
Can you try this in your business rule
gr.work_notes.setJournalEntry(current.work_notes);
Thanks,
Krishna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2020 10:43 PM