Get Rest call result count evaluating to 0 even if it is 1
Content
HI,
I have an integration where I'm getting the data from DB and pushing into VBCS BO's. So here before calling PATCH call for inserting the data in to VBCS BO , checking if the same row already exist in the BO by using get row by using endpoint. i.e /SupplierDetails/{SupplierDetails_Id}. Next to this I places "if condition". if the count from the privious REST call is 0 then insert else update the row.
But here if the count is 1 but entering in to Otherwise flow i.e count = 0.0 flow and giving Bad Request error as the row already exist in the BO.
0