Dan
Dan
WWindmill
Created by Dan on 5/29/2025 in #help
Windmill Apps: frontend script helpers : recompute a backend script and wait for new job id
Thank you, @fjørdlek. This really gets in the way of asynchronous logic. Why not just natively exposing the job id in to the frontend js, as done with states?
22 replies
WWindmill
Created by Dan on 5/29/2025 in #help
Windmill Apps: frontend script helpers : recompute a backend script and wait for new job id
Hi @fjørdlek , @rubenf , just wanted to follow up?
22 replies
WWindmill
Created by Dan on 5/29/2025 in #help
Windmill Apps: frontend script helpers : recompute a backend script and wait for new job id
it triggers run, and generate jobid, but the jobid is not accessible within the same script run
22 replies
WWindmill
Created by Dan on 5/29/2025 in #help
Windmill Apps: frontend script helpers : recompute a backend script and wait for new job id
The approach you have is working, but it's not allowing me to call antyhing from a script and wait for it
22 replies
WWindmill
Created by Dan on 5/29/2025 in #help
Windmill Apps: frontend script helpers : recompute a backend script and wait for new job id
Thank you, @fjørdlek , this works for me as well. From my frontend code, I want to be able to call an execution of backend runnable, and wait for the result. Does that make sense?
22 replies
WWindmill
Created by Dan on 5/29/2025 in #help
Windmill Apps: frontend script helpers : recompute a backend script and wait for new job id
Thank you, @fjørdlek , I'll wait to hear from you.
22 replies
WWindmill
Created by Dan on 5/29/2025 in #help
Windmill Apps: frontend script helpers : recompute a backend script and wait for new job id
Hi Alex, yes! But it requires a job id. I am unable to get the new job id after running recompute("bg_0")
22 replies
WWindmill
Created by Dan on 5/29/2025 in #help
Windmill Apps: frontend script helpers : recompute a backend script and wait for new job id
Hi Alex, thank you! See the script below. This is a frontend js in App: let job1 = "" let job2 = "" async function runAndWait() { await new Promise(resolve => setTimeout(resolve, 2000)) job1 = bg_0.jobId await new Promise(resolve => setTimeout(resolve, 2000)) await recompute("bg_0") await new Promise(resolve => setTimeout(resolve, 2000)) job2 = bg_0.jobId } await runAndWait() return {job1, job2}
22 replies
WWindmill
Created by Dan on 5/29/2025 in #help
Windmill Apps: frontend script helpers : recompute a backend script and wait for new job id
Hi @rubenf @fjørdlek , wanted to follow up on this
22 replies
WWindmill
Created by Dan on 4/16/2025 in #help
Branch to all: skip condition for an entire branch?
(I'm a cloud team customer)
4 replies
WWindmill
Created by Dan on 5/19/2025 in #help
In flows: "Dynamic Select is not available in this mode, write value directly
(I'm a cloud team customer)
3 replies
WWindmill
Created by Dan on 4/16/2025 in #help
Branch to all: skip condition for an entire branch?
Hi @rubenf , wanted to bump this up
4 replies
WWindmill
Created by Dan on 2/20/2025 in #help
Basic questions: Flow triggering
2. That's a solution for webhooks. I suggest merging "http and webhooks" into the same trigger. What about non authed emails?
9 replies
WWindmill
Created by Dan on 2/20/2025 in #help
Basic questions: Flow triggering
Thank you! I suggest addressing solutions for both
9 replies
WWindmill
Created by Dan on 2/20/2025 in #help
Basic questions: Flow triggering
1. A switcth that will apply to all the above. 2. Is there any workaround to retrieve it, or to not require authorization to be used in webhook/email triggers?
9 replies