cancel
Showing results for 
Search instead for 
Did you mean: 
1WSCGomez
Moderator
Moderator

When you import files and the task status remains in "Processing" on UI for a long time, the following are the possible reasons:

  • Load in the system
  • Verify Import Details

 

Load in the system

Mainly this issue occurs when there is a load in the system, Check on the task page if bulk activities are going on. Please wait until the load is reduced and avoid bulk activities.

 

 

 

Verify Import Details

If a load is processed, then check the import details (whether all the data was imported successfully or not) using Postman by following steps:

 

  • Check Task Summary

Check Total Records for that Task ID using below sample query below:

Get Task Summary Object Expand source

API : http://{{WEBURL}}:{{WEBPORT}}/{{TENANT_ID}}/api/requesttrackingservice/get
 
{
  "params": {
    "query": {
      "id": "af0fabc9-08fb-4b5a-8e08-70f186cc0874",
      "filters": {
        "typesCriterion": [
          "tasksummaryobject"
        ]
      }
    },
    "fields": {
      "attributes": [
        "_ALL"
      ]
    },
    "options": {
      "maxRecords": 1
    }  
  }
}

Screenshot of the above query response:

 

 

In the response, you can get “totalRecords”,” totalTransformError”,” totalRecordsSuccess”,

From the response, you can get the total count of records successfully processed by comparing it with the total records and checking the total errors.

 

Now execute the below sample query to get the Request Object:

Getting Request Object using Task ID Expand source

API : http://{{WEBURL}}:{{WEBPORT}}/{{TENANT_ID}}/api/requesttrackingservice/get
 
{
  "params": {
    "query": {
      "filters": {
        "typesCriterion": [
          "requestobject"
        ],
        "attributesCriterion": [
          {
            "taskId": {
              "exact": "af0fabc9-08fb-4b5a-8e08-70f186cc0874"
            }
          },
          {
            "impacted": {
              "exact": "false"
            }
          },
          {
            "requestStatus": {
              "exact": "success"
            }
          }
        ]
      }
    },
    "fields": {
      "attributes": [
        "_ALL"
      ]
    },
    "options": {
      "maxRecords": 2
    }
  }
}

Screenshot of the above query response:

 

Now compare this “totalRecords” with the total record processed successfully in Task Summary Object:

So from the above queries, you will get confirmation that the import task is completed successfully or not, if yes it's a UI issue as it's not showing as completed.

You can raise a ticket in either case if there is an issue with the UI or import itself.

Please post your questions in the comments section.

Version history
Revision #:
2 of 2
Last update:
13 hours ago
Updated by:
 
Contributors