Issue with Split method

naveenbanda
Kilo Contributor

I created a scripted rest api where I'm receiving sys ID's as query parameter

 

var sysID=request.queryParams.sysIDS.split(',');-- if I capturing like this , in logs I could see sysID and typeOf(sysID) is undefined. 
 
If I removed split then it's fine and returning the values.
 
Sys ID which I'm passing : 46edaa6aa9fe198101b9d14ced16619f,46f09e75a9fe198100f4ffd8d366d17b
 
0 REPLIES 0