Issue with Split method
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2026 12:28 AM
I created a scripted rest api where I'm receiving sys ID's as query parameter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2026 03:04 AM
Hi @naveenbanda ,
i have encounter similar issue, when i try to fetch the typeOf(request.queryParams.sysIDS) returned object for me.so .split(',') method didn't work that's i have change that string then split the value like
Thanks,
BK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2026 07:35 AM
Thanks Bhavya
its worked
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2026 08:54 PM
Hi @naveenbanda .
Could you please accept solution and close the thread.
Thanks,
BK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2026 03:12 AM
Try this
var sysID=request.queryParams.sysIDS.toString().split(',');

