Override a default value with a value from a parent ticket
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2023 08:56 AM
When creating a Child Epic, I would like the Priority & Color fields copied from the parent Epic.
This function is completed using the Business Rule "Update epic using parent epic". I’m able to update the script to copy other fields, but not Priority or Color. I believe this is because those 2 fields have a default value set. Those default values are set in the Form Design.
How do I override a default value with the field from a parent ticket when the ticket is created?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2023 08:24 AM
I posted this in the Now Platform forum, but I think it should have been posted in the Developer forum.
@Ankur Bawiskar Is this something your familiar with & can provide any guidance on?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2023 08:32 AM
default value works and will set value when the field is empty while inserting record
Could you share the scripts screenshots?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2023 08:50 AM
Business Rule lines 1-6 are OOB. I added lines 7-8 to copy over Assigned To person. When I add a similar line of script for Color or Priority, they don't work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2023 10:22 PM
I could see color field is reference but it's not referring to any table?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader