Casper
Casper2d ago

Durable script that picks up where it failed

How can I build a C# script in Windmill that stores an int id such that the script will pick up where it left off for example if it was rate limited or failed execution midways through execution? Similar to Durable functions in Azure or Temporal.
4 Replies
rubenf
rubenf2d ago
you need to do that in userland, basically using a library that can skip already executed inner parts based on a key it's as simple as just storing as key wm_job_id+stable identifier, and skipping if it was already stored
Casper
CasperOP2d ago
is userland javascript?
rubenf
rubenf2d ago
It's your program runtime So here c#
Casper
CasperOP2d ago
thanks I will try that

Did you find this page helpful?