cancel
Showing results for 
Search instead for 
Did you mean: 

discard requests made on offline store from request queue ?

former_member593945
Discoverer
0 Kudos

lets say i have made two request on offline store and i want to undo my last request? so that my data in offline store resets to original value before performing a Flush operation.

Please help me with the solution.

Accepted Solutions (0)

Answers (1)

Answers (1)

grabz
Employee
Employee
0 Kudos

Hi Vijay,

There's no way currently to delete a request from the request queue. What you can do is to send a DELETE request for the given "under-creation" entity. So basically you'll create and then delete the same thing during the upload so nothing will change in the backend.

Ákos

former_member593945
Discoverer
0 Kudos

Hi Akos,

Thanks for your quick response.

Lets consider a scenario, where user has started servicing an order but realized he has some other priority things to take care of so he cancelled this service to come back at later time. he is still in offline mode.

According to your solution, if i DELETE the entity , then he will not have anything to service when he wants to revisit .

Basically what i want to achieve is, discard my recent changes on the data, so i can get original data back.

Thanks,

Vijay