What is the correct way to catch DB changes from API actions?

Hi @Michael_Kadron

Let me explain how the AsyncCode block works:

  1. the codeless logic runs in a specific environment, we call it CodeRunner Worker
  2. each worker wait until your code is complemented
  3. once your logic is done the worker will be killed
  4. the AsyncBlock runs code outside the main invocation flow and as a result, the worker does not wait until the async code is done and the worker might be killed before it’s completed sending any HTTP requests inside the AsyncBlock

Therefore:

  1. there is no guarantee that it will have time to send the request
  2. there is no guarantee that it will have time to receive a response from the request