Skip to content

Commit

Permalink
fix: Issue 1279
Browse files Browse the repository at this point in the history
  • Loading branch information
vincenzo-ingenito committed Nov 18, 2024
1 parent 070d2f5 commit 9a3077a
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,11 @@ public GetReferenceResponseDTO getReference(final String oid, final JWTTokenDTO
workflowInstanceId,startingDate);
StringBuilder sb = buildReferenceResponse(response);

if(response.getTotalResultCount().intValue()==0) {
out.setErrorMessage("No record found");
return out;
}

if(!StringUtility.isNullOrEmpty(sb.toString())){
out.setErrorMessage(sb.toString());
} else {
Expand Down

0 comments on commit 9a3077a

Please sign in to comment.