Diffrernce between in single and double quotes in servicenow?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2018 08:52 AM
I just wanted to update static value in work notes;
like test message
for that i need to use
currnet.work_notes = 'Test message'; or
current.work_notes ="Test message";
which is the correct one.
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2018 08:54 AM
Both are correct, it is just the user preference.
https://www.w3schools.com/js/js_strings.asp
Please mark my response as correct and helpful if it helped solved your question.
-Thanks
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2018 09:03 AM
but the worknotes not updating in both the cases
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2018 09:10 AM
It will update in both the cases. can you tell me what exactly you are looking.
Please mark my response as correct and helpful if it helped solved your question.
-Thanks