Steps to Reproduce
- Do a JSON request.
- Open Transactions (all user).
- Find your transaction and click the record to open it.
- In the transaction form, click View Log Entries.
- Find the thread that your transaction was processed on.
- Notice the thread name starts with Default.
Use a REST-style web service rather than JSON. REST web services do not compete with user traffic by default; however, if you would like to continue using a JSON service you can set up a separate semaphore queue for your requests by doing the following:
- In the navigation filter, type sys_semaphore.list.
- Click New.
- Name the file, for example, JSON.
- In the Parameters field, enter JSON, JSONv2.
- Click Submit.
To make sure this works, do a JSON call using curl and the Log files to see what type of thread (and therefore what type of semaphore pool) was used. If the thread name starts with Default, then it did not work. As an alternative to going through the Log files, if you have a sufficiently slow request, you can fire the request, then quickly run stats.do. Your new JSON semaphore queue shows up as one of the available pools in stats.do. If the workaround was done correctly, your request shows up as occupying one of the threads in your new queue.
curl -u admin:admin -o "JSONoutput.txt" "https://myinstance.service-now.com/incident_list.do?sysparm_query=active=true&sysparm_action=getRecords&JSONv2"
Related Problem: PRB631545