Hey there,
while developing custom actions I’m currently facing the following issue:
It seems for me that there is no way when my application receives the event to distinguish whether:
- The event is a retry by monday servers because the first try took too long or had an invalid status code as response.
From the docs:
“If your server responds with any other status, or doesn’t respond within a minute, the monday platform will retry calling your endpoint every minute for 30 minutes .”
- The user triggered another event without changing any data (e.g. by pressing a button twice)
Why is that important?
Lets say i have a custom action that increments a product quantity in a foreign system but takes 2 minutes to complete. Each press of a button should increment the quantity by one.
Now its impossible for me, to distinguish: Did the user click the button again or was it just a retry by monday? Yes, I could prevent retries by just sending a status 200 on the first received request. But then I would sacrifice all error handling capabilities monday offers.
It seems like there is already such an identifier for that, but its not included in the event payload.
The Run ID
seems to be just the thing I need:
Any help on these questions would be highly appreciated! 😊