Got a bit different situation now. I have a server action with an API action post, and after that one the server action gives a response with some data from our software provider. And this is fine.
But our software where we submitted the API call to, then goes to calculate some things in their backend, which takes about 30 seconds or so. But they don’t give that new calculated data back in their response of the previous mentioned API call. We basically have to do a new call for that.
I have tried to make a action scheduler which runs 30 seconds after success event with the above mentioned server action, which does work, but if I submit the first API call multiple times within that 30 seconds waiting time, it seems to only fire the action scheduler once. Is that correct or did I do something wrong? Or is there a better way to go about this? @Teodor