question

Upvotes
Accepted
5 6 3 8

Different behavior in json text for prod and dev ?

Hi,

I was told that in SEQ 8 call, if we screened a case where no results is found. The json text will include "noOfNewResults:0", hence I implemented the check while development.

However, when I switch the configuration to production, I don't found "noOfNewResults:0", instead, it shows the following:

{"query":"actionedByUserId==0a3687cf-611f-145c-9870-ce2000001762; eventDate>2010-01-01T00:00:00Z;eventDate<2020-01-01T00:00:00Z","sort":null,"totalResultCount":0,"pagination":{"currentPage":1,"itemsPerPage":100,"totalItems":0},"results":[]}

Can I quickly understand why ? Is it designed that the json text behavior is different in prod and dev ? I am quite worried as all my code was designed based on json text retrieved from dev.

Thanks

world-checkworld-check-one
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvotes
Accepted
4.2k 8 5 6
@cliff.ching

I think you are using the wrong user Id. Please check.

Also, the JSON body of seq 8 is the same for both production and pilot environment.

Please find the excerpt of the JSON body of seq 8 below:

{
"id": "0a3687d0-611f-155f-9874-25db001be81f",
"objectId": "0a3687d0-611f-1ef5-9874-1f66000cc8f4",
"eventDate": "2018-02-26T05:30:39.180Z",
"actionedByUserId": "0a3687cf-611f-145c-9866-5974000011c2",
"actionedByUserName": "Irfan Khan",
"note": null,
"entityType": "CASE",
"actionType": "SCREENED_CASE",
"auditEventToDate": null,
"details": {
"detailsType": "ScreenCaseAuditDetails",
"userId": null,
"statusCode": "COMPLETED",
"screeningState": "INITIAL",
"noOfNewResults": 330,
"noOfReviewRequiredResults": 0,
"noOfExcludedResults": 0,
"noOfAutoResolvedResults": 0,
"providerTypes": [
"WATCHLIST"
],
"caseScreenRequestor": null,
"caseSystemId": "0a3687d0-611f-1ef5-9874-1f66000cc8f4"
}

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.