Auto-create problem request based on certain criteria.

Auto-create problem request based on certain criteria.

This is a sample script that triggers the creation of a Problem Request in ServiceDesk Plus using the Problem API. 

Use Case: 
‚Äč
All incident requests with Priority = High will create a problem ticket with the request's default field values.

Execution steps:

1.Goto Admin > Request Custom Functions > Global function > New > Paste the content from the attachment  configuration.txt and save it with a name.

2.Update the URL and technician key in the script. You can get the technician key under profile in the top right corner. Refer to the attached screenshot.
Refer to the below link.





3. Go to Admin --> Request Custom Functions --> Custom Actions --> Paste the content from the attachment (3. create_problem_request.txt) and save it with a name.

4.  Modify the global function name in the script. Refer to the attached screenshot. 



5. Configure custom trigger as in the attached screenshot.