Changing the RequestID to start from a particular number

Changing the RequestID to start from a particular number

To change the RequestID to an number of you choice follow steps below.

1. Connect to SupportCenterPluss MySql database 
eg)
C:\\SupportCenter\\mysql\\bin>mysql.exe -u root -P 33356 supportcenter
2. Insert a dummy request with requestid and requesterid
eg)
mysql> insert into workorder (WORKORDERID,REQUESTERID,DEPARTMENTID) values (4999,2,1);
where request ID is 4999,  Requesterid is 2 and Department ID is 1
3.Shutdown SupportCenterPlus and restart it.
4.The next new request that you will create will have the requestid 5000.


For MSSQL database

insert into workorder (WORKORDERID,REQUESTERID,CREATEDTIME,DUEBYTIME,DEPARTMENTID) values (4999,2,0,0,1);

For Postgres database:

postgres# insert into workorder (WORKORDERID,REQUESTERID,CREATEDTIME,DUEBYTIME,DEPARTMENTID) values (4999,2,0,0,1); 

                  New to ADSelfService Plus?

                    • Related Articles

                    • Upgrade failure - Trying to start PostgresSQL server failed

                      Traces within the logs: [SYSERR] [INFO] : java.lang.Exception: java.net.ConnectException: Trying to start PostgresSQL server failed Please follow the steps below to address the same : 1. Stop the ServiceDesk Plus MSP service. 2. Open the command ...
                    • Fix for 8514270 - Attachments from a particular sender is getting dropped due to invalid file name

                      Issue: 1. When mails sent from a particular tool (AV tool in this case), the attachments are getting dropped. 2. The name of the attachment after processing is "=?utf-8?Q?=31=64=39=35=66=33=34=33=2D=39=31=39=34=2D=34=61?= ...
                    • Ubuntu 18.04 LTS - Start as service issue

                      After following the steps for running the application as service in linux  the following errors may occur to start the service.  Aug 17 06:56:07 ip-172-31-14-254 systemd[1]: Started ServiceDesk. Aug 17 06:56:07 ip-172-31-14-254 systemd[14138]: ...
                    • Failed to start the database

                      For the error "Failed to start the database", Check what database being used and, execute changeDBServer.bat. For Pgsql,  Start PGSQL from the command link, execute StartDB.bat 65432 under C:\Manageengine\ServiceDesk\bin 65432 is the default port ...
                    • Unable to start the application after power failure

                      Issue: In certain cases, after a power failure, when the server restarts, the application fails to start and we could see indexoutofboundsexception in the log traces. Cause:  This error occurs because the license file gets corrupted which may be due ...