- 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-13-2020 12:41 AM
Hi,
similar question asked previously which is already answered.
https://community.servicenow.com/community?id=community_question&sys_id=10a2bf8bdb201010414eeeb5ca96190e
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2020 12:51 AM
Hi Ankur, User is trying to achieve the other way round from HR task to HR Case without leading to a loop
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2020 01:14 AM
Hi Shruthi,
okay got it; it seems 2 points are same and for 1 more point help is required.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2020 01:13 AM
Hi,
I believe point 1 and point 2 is already answered in your question below;
https://community.servicenow.com/community?id=community_question&sys_id=10a2bf8bdb201010414eeeb5ca96190e
So for point 3 create after update BR on HR Task to update work notes to HR Case;
ensure you use setWorkflow(false) just before you update for both the after update business rules so that it doesn't end in loop
Please consider marking appropriate reply as ✅Correct & 👍Helpful.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2020 01:38 AM
Are you talking about OOTB BR "Validate Changes" or I need to create seperate BR