Skip to main content
June 10, 2022
Question

Update Web Service Calls Failing Due to random 3 milli seconds difference

  • June 10, 2022
  • 8 replies
  • 0 views

Hello,

I am using a WebService query smart service to do Get and Update Merchant. We do a Get call to get the latest data,  modify the returned object, and update using the UpdateMerchant call. Thers is an attribute "LastModifiedDate" which holds Date Time, not supposed be modified. I am just passing without any change. But there is a random 3 milliseconds difference during the Get and Update. I am seeing random success response but its intermittent.

Becasue of this difference, the Update call is throwing an error with "Unable to add due to typical Microsoft CRUD design - Status - OutOfDate..

I am not sure how Appian gets the raw data. I could only see data once it is converted into an Object. Did anyone face this issue or what could explain the error?

Thanks

8 replies

stefanhelzle0001
Brainy
June 10, 2022

Can you post some details? BTW, Appian will only parse the data if you enable it. Might be an idea to disable that to understand what is going on.

June 13, 2022

Could you please explain what do you mean "Appian will only parse the data if you enable it"?

stefanhelzle0001
Brainy
June 13, 2022

https://docs.appian.com/suite/help/22.2/Integration_Object.html#http-integration-definition

I mean "Response Body Parsing". If enabled, Appian will convert the JSON formatted data into an Appian dictionary. Did you check whether there are any deviations in the JSON timestamps and the parsed timestamps?