[{"data":1,"prerenderedAt":502,"buildId":503},["ShallowReactive",2],{"\u002Fautomations\u002Fruns":3,"\u002Fautomations\u002Fruns-surround":397,"navigation":410},{"id":4,"title":5,"body":6,"description":388,"extension":389,"meta":390,"navigation":391,"path":393,"seo":394,"stem":395,"__hash__":396},"docs\u002F3.automations\u002F09.runs.md","Runs and history",{"type":7,"value":8,"toc":374},"minimark",[9,18,23,60,64,67,87,92,182,207,210,213,223,234,241,244,250,257,261,283,287,332,350,353,357,360,368],[10,11,12,13,17],"p",{},"Every time a workflow starts, it creates a ",[14,15,16],"strong",{},"run",". A run is about one file, uses one published version of the workflow, and records what each step did.",[19,20,22],"h2",{"id":21},"finding-runs","Finding runs",[24,25,26,47,53],"ul",{},[27,28,29,30,33,34,38,39,42,43,46],"li",{},"The ",[14,31,32],{},"Runs"," tab of a workflow lists its runs, newest first. Filter by ",[35,36,37],"em",{},"Unfinished",", ",[35,40,41],{},"Failed"," or ",[35,44,45],{},"Succeeded",".",[27,48,29,49,52],{},[14,50,51],{},"Automations"," page shows each workflow's last run and how many runs failed recently.",[27,54,55,56,59],{},"After ",[14,57,58],{},"Run automation"," in Files, the toast links to the runs it started.",[19,61,63],{"id":62},"the-run-page","The run page",[10,65,66],{},"Opening a run shows each step's state, and each step's history: attempts, timing, the settings it ran with, its outputs and any log lines. Select a step to see only its history.",[10,68,69,70,38,73,76,77,80,81,42,84,46],{},"For an intake run, the page also shows what happened to the upload: ",[35,71,72],{},"Waiting for the run to save it",[35,74,75],{},"Saved"," (and by which step), ",[35,78,79],{},"In quarantine"," (and when it will be deleted), ",[35,82,83],{},"Discarded",[35,85,86],{},"Deleted from quarantine",[88,89,91],"h3",{"id":90},"run-states","Run states",[93,94,95,108],"table",{},[96,97,98],"thead",{},[99,100,101,105],"tr",{},[102,103,104],"th",{},"State",[102,106,107],{},"Means",[109,110,111,120,128,136,144,152,159,167,174],"tbody",{},[99,112,113,117],{},[114,115,116],"td",{},"Queued",[114,118,119],{},"Created, waiting for its first step or for a free slot.",[99,121,122,125],{},[114,123,124],{},"Running",[114,126,127],{},"A step is working or about to.",[99,129,130,133],{},[114,131,132],{},"Retrying",[114,134,135],{},"A step failed and will try again shortly.",[99,137,138,141],{},[114,139,140],{},"Waiting",[114,142,143],{},"A Wait step is pausing the run. Nothing is held while it waits, even across restarts.",[99,145,146,149],{},[114,147,148],{},"Canceling",[114,150,151],{},"You canceled it and the current step is stopping.",[99,153,154,156],{},[114,155,45],{},[114,157,158],{},"Every step that ran succeeded.",[99,160,161,164],{},[114,162,163],{},"Completed with errors",[114,165,166],{},"The run finished, but a step failed and the run continued past it or took its error path.",[99,168,169,171],{},[114,170,41],{},[114,172,173],{},"A step failed and stopped the run, or the run ran out of time.",[99,175,176,179],{},[114,177,178],{},"Canceled",[114,180,181],{},"Canceled by you, or because its file was trashed or deleted.",[10,183,184,185,38,188,38,191,38,193,38,195,38,197,38,199,38,201,204,205,46],{},"Steps are ",[35,186,187],{},"Pending",[35,189,190],{},"Ready",[35,192,124],{},[35,194,132],{},[35,196,140],{},[35,198,45],{},[35,200,41],{},[35,202,203],{},"Skipped"," (its branch wasn't taken) or ",[35,206,178],{},[19,208,132],{"id":209},"retrying",[10,211,212],{},"Each step retries on its own when something temporary goes wrong: a network or storage error, a timeout, a busy server. Most steps try up to 3 times with a growing delay. Problems retrying can't fix, such as a missing value, invalid settings or a deleted folder, fail at once.",[10,214,215,216,38,219,222],{},"When a whole run has ",[14,217,218],{},"failed",[14,220,221],{},"Retry"," on the run page starts it again:",[24,224,225,228,231],{},[27,226,227],{},"It uses the same workflow version and the same trigger values.",[27,229,230],{},"Steps that already succeeded aren't run again; their outputs are reused. Steps that saved a file or made a link don't do it twice.",[27,232,233],{},"The failed step and everything after it run again.",[10,235,236,237,240],{},"Only failed runs can be retried, and only for ",[14,238,239],{},"14 days"," after they fail. After that their working data is deleted. Test runs can't be retried.",[19,242,148],{"id":243},"canceling",[10,245,246,249],{},[14,247,248],{},"Cancel run"," stops a run that hasn't finished. A run that's waiting or queued stops at once. A step that's in the middle of its work is asked to stop and the run ends when it does.",[10,251,252,253,256],{},"Canceling never undoes what already happened: files saved, tags added, links created stay as they are. If an intake run is canceled before saving the upload, the upload goes to quarantine (or is discarded, with the ",[35,254,255],{},"Discard"," policy). It's never saved as received.",[19,258,260],{"id":259},"time-limits","Time limits",[24,262,263,270,277,280],{},[27,264,265,266,269],{},"An ",[14,267,268],{},"intake"," run has 1 hour from upload to finish.",[27,271,272,273,276],{},"A ",[14,274,275],{},"library"," run has 30 days, including time spent in Wait steps.",[27,278,279],{},"A single step has 2 minutes, unless the step allows longer.",[27,281,282],{},"A run can execute at most 200 steps.",[19,284,286],{"id":285},"how-long-history-is-kept","How long history is kept",[93,288,289,299],{},[96,290,291],{},[99,292,293,296],{},[102,294,295],{},"What",[102,297,298],{},"Kept for",[109,300,301,309,317,324],{},[99,302,303,306],{},[114,304,305],{},"History of succeeded runs and tests",[114,307,308],{},"30 days",[99,310,311,314],{},[114,312,313],{},"History of failed, canceled and completed-with-errors runs",[114,315,316],{},"90 days",[99,318,319,322],{},[114,320,321],{},"What a failed run needs to be retried",[114,323,239],{},[99,325,326,329],{},[114,327,328],{},"Quarantined uploads",[114,330,331],{},"30 days from first quarantine",[10,333,334,335,338,339,38,342,345,346,349],{},"How much history a workflow keeps is set in ",[14,336,337],{},"Workflow settings › Run history",": ",[35,340,341],{},"Everything",[35,343,344],{},"Minimal"," (states, timing and error codes) or ",[35,347,348],{},"Details for failures",". Outputs that can be sensitive, such as share link URLs, are shortened in history whatever you choose. These settings only change what you see; they never stop a failed run from being retried.",[10,351,352],{},"Files, tags and folders a run created are never removed when its history expires.",[19,354,356],{"id":355},"workflows-starting-workflows","Workflows starting workflows",[10,358,359],{},"A change made by a workflow (a tag it added, a file it saved) can start other workflows, just like a change you make. To keep that from running away:",[24,361,362,365],{},[27,363,364],{},"A workflow never starts from a change that it caused, directly or through other workflows.",[27,366,367],{},"A chain of workflows starting each other stops after 3 levels.",[10,369,370,371,46],{},"Files saved by an intake workflow can start library workflows, such as one that runs on ",[35,372,373],{},"File uploaded",{"title":375,"searchDepth":376,"depth":377,"links":378},"",2,3,[379,380,383,384,385,386,387],{"id":21,"depth":376,"text":22},{"id":62,"depth":376,"text":63,"children":381},[382],{"id":90,"depth":377,"text":91},{"id":209,"depth":376,"text":132},{"id":243,"depth":376,"text":148},{"id":259,"depth":376,"text":260},{"id":285,"depth":376,"text":286},{"id":355,"depth":376,"text":356},"Follow what a workflow did, retry failed runs, cancel runs, and how long history is kept.","md",{},{"icon":392},"i-lucide-history","\u002Fautomations\u002Fruns",{"title":5,"description":388},"3.automations\u002F09.runs","TnBloAT2itiMSAw6Jhv8f8WuYdKDbceKB7HiACaQXog",[398,404],{"title":399,"path":400,"stem":401,"description":402,"icon":403,"children":-1},"Quarantine and failures","\u002Fautomations\u002Fquarantine","3.automations\u002F08.quarantine","What happens to an upload when its intake workflow fails, and how to retry, release or delete it.","i-lucide-shield-alert",{"title":405,"path":406,"stem":407,"description":408,"icon":409,"children":-1},"Compress and resize uploads","\u002Fautomations\u002Fguides\u002Fcompress-uploads","3.automations\u002F10.guides\u002F1.compress-uploads","An intake workflow that strips metadata, scales down and compresses images before saving them to your library.","i-lucide-file-image",[411,420,440],{"title":412,"path":413,"stem":414,"children":415,"icon":419},"Getting started","\u002Fgetting-started","1.getting-started\u002F1.index",[416],{"title":417,"path":413,"stem":414,"icon":418},"Introduction","i-lucide-house",false,{"title":421,"icon":419,"path":422,"stem":423,"children":424,"page":419},"Library","\u002Flibrary","2.library",[425,430,435],{"title":426,"path":427,"stem":428,"icon":429},"Fields","\u002Flibrary\u002Ffields","2.library\u002F1.fields","i-lucide-text-cursor-input",{"title":431,"path":432,"stem":433,"icon":434},"Attachments","\u002Flibrary\u002Fattachments","2.library\u002F2.attachments","i-lucide-paperclip",{"title":436,"path":437,"stem":438,"icon":439},"Search","\u002Flibrary\u002Fsearch","2.library\u002F3.search","i-lucide-search",{"title":51,"path":441,"stem":442,"children":443,"icon":419},"\u002Fautomations","3.automations\u002F01.index",[444,447,452,457,462,467,472,477,478,479,486],{"title":445,"path":441,"stem":442,"icon":446},"Overview","i-lucide-workflow",{"title":448,"path":449,"stem":450,"icon":451},"Your first workflow","\u002Fautomations\u002Ffirst-workflow","3.automations\u002F02.first-workflow","i-lucide-rocket",{"title":453,"path":454,"stem":455,"icon":456},"The editor","\u002Fautomations\u002Feditor","3.automations\u002F03.editor","i-lucide-mouse-pointer-2",{"title":458,"path":459,"stem":460,"icon":461},"Values and templates","\u002Fautomations\u002Fvalues","3.automations\u002F04.values","i-lucide-braces",{"title":463,"path":464,"stem":465,"icon":466},"Conditions and branching","\u002Fautomations\u002Fbranching","3.automations\u002F05.branching","i-lucide-split",{"title":468,"path":469,"stem":470,"icon":471},"Testing","\u002Fautomations\u002Ftesting","3.automations\u002F06.testing","i-lucide-flask-conical",{"title":473,"path":474,"stem":475,"icon":476},"Upload intake","\u002Fautomations\u002Fintake","3.automations\u002F07.intake","i-lucide-inbox",{"title":399,"path":400,"stem":401,"icon":403},{"title":5,"path":393,"stem":395,"icon":392},{"title":480,"icon":481,"path":482,"stem":483,"children":484,"page":419},"Guides","i-lucide-book-open","\u002Fautomations\u002Fguides","3.automations\u002F10.guides",[485],{"title":405,"path":406,"stem":407,"icon":409},{"title":487,"icon":488,"path":489,"stem":490,"children":491,"page":419},"Reference","i-lucide-library","\u002Fautomations\u002Freference","3.automations\u002F11.reference",[492,497],{"title":493,"path":494,"stem":495,"icon":496},"Step reference","\u002Fautomations\u002Freference\u002Fsteps","3.automations\u002F11.reference\u002F1.steps","i-lucide-blocks",{"title":498,"path":499,"stem":500,"icon":501},"Limits and errors","\u002Fautomations\u002Freference\u002Flimits","3.automations\u002F11.reference\u002F2.limits","i-lucide-gauge",1796147277980,"6b28aab5-1860-4b98-b972-637aef5edbec"]