How to make default value as None in the child table's field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2024 06:52 AM
I have created one new custom table which is the child table of task table, now i want the state field by default value as "None".
I can see in dictionary override we have the checkbox of "default", but i am not sure how to use that so that it will show default value as NONE.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2024 06:59 AM
please put the value of none choice in default value.
If none choice is not there in state field then create none choice and provide the value
and then put the value in the default value.
i have attached the snapshot for your reference
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2024 07:02 AM
This is not going to work on your OOB state field, or you need to change it to a choice including 'none' and set client scripts on all other tables, to hide it there. I'd advise against that. Easiest way is to inactivate the OOB state field and add a u_state field on your custom table, to not get in the way of all of the OOB processes.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2024 07:08 AM
I tried this with override and it worked but it did not take none from task table.
I created a new choice and mapped to the custom table and in override r added the value of the none to show.
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]
****************************************************************************************************************