Asset auto assign fails

Asset auto assign fails

When trying to auto assign Owner for assets if it shows failed for all assets with screen shot like shown below,





As you can see from the above screen shot that the Suggested Owner field is Empty for all assets.

In such cases, you can observe the below traces in logs,

Auto Assign retain the assets as it is : true|
[09:08:58:629]|[10-22-2019]|[com.adventnet.servicedesk.asset.util.AssetUtil]|[INFO]|[120]: handleOwnerChange >>> resourceId:[Ljava.lang.Long;@3f25eb53 user: department:null assetSite:7|
[09:08:58:629]|[10-22-2019]|[SYSERR]|[INFO]|[120]: java.lang.NumberFormatException: For input string: ""|
[09:08:58:629]|[10-22-2019]|[SYSERR]|[INFO]|[120]: 	at java.lang.NumberFormatException.forInputString(Unknown Source)|
[09:08:58:629]|[10-22-2019]|[SYSERR]|[INFO]|[120]: 	at java.lang.Long.parseLong(Unknown Source)|

Make sure to check if the suggested owner is listed to resolve the issue.

                  New to ADSelfService Plus?

                    • Related Articles

                    • Technician Auto-Assign vs. Business Rule

                      If you have selected the option All requests under Tech Auto-assign then even if the Business rule sets a technician, tech auto-assign will reset the technician value. However, when Tech Auto-assign is set as an Unassigned request, Technician ...
                    • SAML Auto Login with ADFS (in Intranet)

                      Steps to enable Auto-logon: Step 1: In the AD FS server, under Authentication Methods, make sure that Windows Authentication is selected. Step 2: Run the below powershell query to check if "Chrome" is present in the supported WIA agents: ...
                    • How does suggested Owner feature works ?

                      If you Auto Assign Owners for assets it will assign owners based on the last logged in user for that Asset. The Suggested owner will be listed only if the below conditions are met, 1. Windows machines should have been scanned successfully. 2. The ...
                    • Asset Ownership History Report

                      Please use the below query to get the report on Asset Ownership History. SELECT r.resourcename AS "Workstation Name", ct.componenttypename AS "Product type", rs.displaystate AS "Asset State", aa.first_name AS "Assigned User", LONGTODATE(sh.starttime) ...
                    • Queries to show time stamp and time taken to first response, first tech assign, first group assign and first status set time ( MSSQL )

                      Tested in MSSQL build (14306) MSSQL: First responded time: SELECT wo.WORKORDERID "Request ID", wo.TITLE "Subject", aau.FIRST_NAME "Requester", ti.FIRST_NAME "Technician", LONGTODATE(wo.CREATEDTIME) "Created Time", LONGTODATE(wo.RESPONDEDTIME) ...