- Goal: I have a button that triggers a stored procedure in SQL, that can take several minutes. The user does not need to wait at all to know that it completed, in fact, they'd rather click the button, change the inputs, and trigger another thread of this stored proc.
- there is no data that needs to be returned, it is just processing data updates in the background to the collection of rows designated by the query.
- Steps: right now I have everything working, but I get the timeout error when a query runs for longer than 2 minutes. I tried using a JS query to call the query with await but then realized that's the opposite of what I want. Can't figure out how to just have it trigger, maybe wait 2 seconds to confirm no ERROR came back, and then carry on.
this is the entire contents of my SQL query:
exec snow_sales.Regen_Holograms_by_ITEMSK @item_sk={{ aItemPart.value }}