I have a scriptLibrary to delete bulk incidents attachments and created REST api to execute the script. The script being executed successfully, but getting error HTTP/1.1 500 Internal Server Error and I'm not sure how to return status 200 instead. Also, when i return something in function of script, it doesn't returned in result.
Btw, i followed the steps in following post earlier :-
Please help advice.
Thanks in advance