- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2025 05:07 AM
Hi,
I am trying to Copy some Fields from change form to change task form , i have seen OOB com.snc.change_request.copy.rl.change_task.attributes -List of attributes (comma-separated) from Change Task (change_task) related list that will be copied from the originating change.
But this is not working and also i am unable to find where this property has been used
I wrote business rule and able to achieve the requirement , but BR works only after saving the form i need to do this Onload .
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2025 05:54 AM
Thank you for marking my response as helpful.
The property logic should work fine.
The copy logic works when you copy 1 CHG to another CHG, it will copy all change tasks etc and it will then use that property to determine which fields to be copied from CHG to CHG Task.
Everything happens in this script include "ChangeUtilsSNC" and this script include uses that property
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2025 05:10 AM
Here is this property :
Under change properties, when you say it's not working, is it not copying the date or giving an error? Did you check the "Copy Change" UI action?
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2025 05:46 AM
@Dr Atul G- LNG fields should be copied to change task from from change request from . they are not getting copied and also no error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2025 05:48 AM
I tried it in my PDI, and it's working fine as expected. Did you make any changes? Are you using the "Copy Change" UI action only?
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2025 05:17 AM
You already have business rule which on CHG when record is updated will copy the fields to CHG Task.
Why to have this performed when form loads?
not a good practice.
Ideally the copy of fields should happen when database transaction takes place.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader