Switch case statement in a script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-07-2017 05:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-16-2020 05:17 AM
This solved it for me - thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-09-2020 08:17 AM
Hi Christineymayfield,
Is it possible to get date automatically in the "Next Update Due" field based on Severity field.
As the "Next Update Due" field is Date Type but Severity field is String Type.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-24-2018 09:48 AM
I had the same issue. I worked when I added +'' to the variable. In your case
var country = current.requested_for_country+'';
Let me know if that worked, best regards, Markus

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-13-2020 01:19 PM
I get a parsing error with that approach...

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-08-2021 02:27 PM
I needed to add +"" , then worked fine. A plus and two quotes.
Thanks,
Scott