- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2020 04:54 AM
Hi Everyone,
I have a requirement, I need to assign a default display value to my Project Time Category which is a reference field in a Time Card Table.
In the Project Time Category Table i have the following entries:
- Standard
- Non-OT Billable
- OT Billable
- Offset
What I want is, once the user open the form, it will automatically display the "Standard" in the Project Time Category field in the Time Card Forms.
Thanks in advance.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2020 05:04 AM
Add the sys_id of the "Standard" choice from 'project_time_category' table as the Default value of the field 'project_time_category' in the Time Card table
Example for 'Development' choice from my PDI:
When user creates a new Time Card-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2020 05:23 AM
Hi Mark,
Is this always required or specific to some scenario?
If always then use default value at dictionary level.
if based on scenario then either use onload client script or before insert business rule to set the value
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
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-10-2020 05:49 AM
Hi Ankur,
Thanks for showing interest in my requirement. This is just a simple requirement and shruthiub suggestion works