- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
06-23-2014 08:26 AM
Is there a gs equivalent to the g_form.isNewRecord() ?
I find this very useful in client scripts, but sometimes, I see myself wanted to use this in UI Actions that are not client-based as well...
Solved! Go to Solution.
- Labels:
 - 
						
							
		
			Service Mapping
 
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
06-23-2014 11:12 AM
current.isValidRecord() is what you're looking for. This SNGuru article explains the usage of both...
http://www.servicenowguru.com/scripting/client-scripts-scripting/testing-valid-record/
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
12-28-2016 09:21 AM
Hi,
I want to create a view rule that needs to tell if the record is new, it seems neither isNewRecord() or isValidRecord() works in the view rule.
Any suggestions?
Thanks lot!
Jerry
