[{"data":1,"prerenderedAt":773,"buildId":774},["ShallowReactive",2],{"\u002Fautomations\u002Fruns":3,"\u002Fautomations\u002Fruns-surround":487,"navigation":498},{"id":4,"title":5,"body":6,"description":479,"extension":480,"meta":481,"navigation":482,"path":483,"seo":484,"stem":485,"__hash__":486},"docs\u002F3.automations\u002F08.runs.md","Runs and history",{"type":7,"value":8,"toc":463},"minimark",[9,18,23,62,70,74,77,97,102,210,238,241,244,251,254,257,267,291,297,307,318,325,328,334,341,345,372,376,421,439,442,446,449,457],[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,55],"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,53,46],{},[14,50,51],{},"Workflows"," page shows each workflow's last run and how many runs failed recently. Click the failure count to open the workflow's runs filtered to ",[35,54,41],{},[27,56,57,58,61],{},"After ",[14,59,60],{},"Run automation"," in Files, the toast links to the runs it started.",[63,64],"screenshot",{"alt":65,"caption":66,"height":67,"name":68,"width":69},"The Runs tab of a workflow listing succeeded runs with their files and start times","A workflow's Runs tab",640,"runs",1216,[19,71,73],{"id":72},"the-run-page","The run page",[10,75,76],{},"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,78,79,80,38,83,86,87,90,91,42,94,46],{},"For an intake run, the page also shows what happened to the upload: ",[35,81,82],{},"Waiting for the run to save it",[35,84,85],{},"Saved"," (and by which step), ",[35,88,89],{},"In quarantine"," (and when it will be deleted), ",[35,92,93],{},"Discarded",[35,95,96],{},"Deleted from quarantine",[98,99,101],"h3",{"id":100},"run-states","Run states",[103,104,105,118],"table",{},[106,107,108],"thead",{},[109,110,111,115],"tr",{},[112,113,114],"th",{},"State",[112,116,117],{},"Means",[119,120,121,130,138,146,160,172,180,187,195,202],"tbody",{},[109,122,123,127],{},[124,125,126],"td",{},"Queued",[124,128,129],{},"Created, waiting for its first step or for a free slot.",[109,131,132,135],{},[124,133,134],{},"Running",[124,136,137],{},"A step is working or about to.",[109,139,140,143],{},[124,141,142],{},"Retrying",[124,144,145],{},"A step failed and will try again shortly.",[109,147,148,151],{},[124,149,150],{},"Waiting",[124,152,153,154,159],{},"A Wait step is pausing the run, or a step is waiting for a ",[155,156,158],"a",{"href":157},"\u002Fconnections#usage-limits","connection's"," usage limit. Nothing is held while it waits, even across restarts.",[109,161,162,165],{},[124,163,164],{},"Needs attention",[124,166,167,168,46],{},"A step needs you to confirm what happened before the run can go on. See ",[155,169,171],{"href":170},"#steps-that-need-confirmation","Steps that need confirmation",[109,173,174,177],{},[124,175,176],{},"Canceling",[124,178,179],{},"You canceled it and the current step is stopping.",[109,181,182,184],{},[124,183,45],{},[124,185,186],{},"Every step that ran succeeded.",[109,188,189,192],{},[124,190,191],{},"Completed with errors",[124,193,194],{},"The run finished, but a step failed and the run continued past it or took its error path.",[109,196,197,199],{},[124,198,41],{},[124,200,201],{},"A step failed and stopped the run, or the run ran out of time.",[109,203,204,207],{},[124,205,206],{},"Canceled",[124,208,209],{},"Canceled by you, or because its file was trashed or deleted.",[10,211,212,213,38,216,38,219,38,221,38,223,38,225,38,228,38,230,38,232,235,236,46],{},"Steps are ",[35,214,215],{},"Pending",[35,217,218],{},"Ready",[35,220,134],{},[35,222,142],{},[35,224,150],{},[35,226,227],{},"Needs confirmation",[35,229,45],{},[35,231,41],{},[35,233,234],{},"Skipped"," (its branch wasn't taken) or ",[35,237,206],{},[19,239,142],{"id":240},"retrying",[10,242,243],{},"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,245,246,247,46],{},"Steps that change something outside Tessra, such as Send webhook and Send notification, are more careful. A failure that happens before any of the request was sent, such as an address that can't be reached, is retried as usual. But once a step started sending, Tessra can't know whether the service acted unless the service says so in a way its connection understands. A timeout, a dropped connection, an error answer, or an answer that was too large or unreadable all leave it open whether the message arrived. Those steps aren't retried automatically, so nothing is sent twice. The step waits for you instead. The exception is a webhook whose receiver ignores repeated deliveries; see ",[155,248,250],{"href":249},"\u002Fconnections#repeated-deliveries","Repeated deliveries",[10,252,253],{},"When a service asks Tessra to slow down, or a connection reaches its usage limit, the step waits and continues later. Waiting doesn't use up an attempt. Tessra always waits at least 2 seconds before trying again, and at most an hour when a service asks for longer.",[98,255,171],{"id":256},"steps-that-need-confirmation",[10,258,259,260,262,263,266],{},"When a step is ",[35,261,227],{},", the run page asks ",[35,264,265],{},"Did it go through?"," Check the service (did the message appear in the channel?), then choose:",[24,268,269,275,281],{},[27,270,271,274],{},[14,272,273],{},"Send again",": the step runs again from its first attempt.",[27,276,277,280],{},[14,278,279],{},"It went through",": the step counts as succeeded and the run continues. Its outputs are empty, so later steps that use them get no value.",[27,282,283,286,287,290],{},[14,284,285],{},"Fail the step",": the step fails and the run follows the step's ",[14,288,289],{},"If this step fails"," setting.",[10,292,293,294,296],{},"The run stays at ",[35,295,164],{}," until you choose or cancel it.",[10,298,299,300,38,303,306],{},"When a whole run has ",[14,301,302],{},"failed",[14,304,305],{},"Retry"," on the run page starts it again:",[24,308,309,312,315],{},[27,310,311],{},"It uses the same workflow version and the same trigger values.",[27,313,314],{},"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,316,317],{},"The failed step and everything after it run again.",[10,319,320,321,324],{},"Only failed runs can be retried, and only for ",[14,322,323],{},"14 days"," after they fail. After that their working data is deleted. Test runs can't be retried.",[19,326,176],{"id":327},"canceling",[10,329,330,333],{},[14,331,332],{},"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,335,336,337,340],{},"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,338,339],{},"Discard"," policy). It's never saved as received.",[19,342,344],{"id":343},"time-limits","Time limits",[24,346,347,354,361,369],{},[27,348,349,350,353],{},"An ",[14,351,352],{},"intake"," run has 1 hour from upload to finish.",[27,355,356,357,360],{},"A ",[14,358,359],{},"library"," run has 30 days, including time spent in Wait steps.",[27,362,363,364,368],{},"Each attempt of a step has a time limit: 2 minutes for most steps, 1 minute for Send notification and Send webhook, and 8 minutes for the AI steps. The ",[155,365,367],{"href":366},"\u002Freference\u002Fsteps","step reference"," lists each one.",[27,370,371],{},"A run can execute at most 200 steps.",[19,373,375],{"id":374},"how-long-history-is-kept","How long history is kept",[103,377,378,388],{},[106,379,380],{},[109,381,382,385],{},[112,383,384],{},"What",[112,386,387],{},"Kept for",[119,389,390,398,406,413],{},[109,391,392,395],{},[124,393,394],{},"History of succeeded runs and tests",[124,396,397],{},"30 days",[109,399,400,403],{},[124,401,402],{},"History of failed, canceled and completed-with-errors runs",[124,404,405],{},"90 days",[109,407,408,411],{},[124,409,410],{},"What a failed run needs to be retried",[124,412,323],{},[109,414,415,418],{},[124,416,417],{},"Quarantined uploads",[124,419,420],{},"30 days from first quarantine",[10,422,423,424,427,428,38,431,434,435,438],{},"How much history a workflow keeps is set in ",[14,425,426],{},"Workflow settings › Run history",": ",[35,429,430],{},"Everything",[35,432,433],{},"Minimal"," (states, timing and error codes) or ",[35,436,437],{},"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,440,441],{},"Files, tags and folders a run created are never removed when its history expires.",[19,443,445],{"id":444},"workflows-starting-workflows","Workflows starting workflows",[10,447,448],{},"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,450,451,454],{},[27,452,453],{},"A workflow never starts from a change that it caused, directly or through other workflows.",[27,455,456],{},"A chain of workflows starting each other stops after 3 levels.",[10,458,459,460,46],{},"Files saved by an intake workflow can start library workflows, such as one that runs on ",[35,461,462],{},"File uploaded",{"title":464,"searchDepth":465,"depth":466,"links":467},"",2,3,[468,469,472,475,476,477,478],{"id":21,"depth":465,"text":22},{"id":72,"depth":465,"text":73,"children":470},[471],{"id":100,"depth":466,"text":101},{"id":240,"depth":465,"text":142,"children":473},[474],{"id":256,"depth":466,"text":171},{"id":327,"depth":465,"text":176},{"id":343,"depth":465,"text":344},{"id":374,"depth":465,"text":375},{"id":444,"depth":465,"text":445},"Follow what a workflow did, retry failed runs, cancel runs, and how long history is kept.","md",{},true,"\u002Fautomations\u002Fruns",{"title":5,"description":479},"3.automations\u002F08.runs","nH7GijX8pQFiahARVx4MdJF884SOJw_vkyjFdMSC36c",[488,493],{"title":489,"path":490,"stem":491,"description":492,"children":-1},"Testing","\u002Fautomations\u002Ftesting","3.automations\u002F07.testing","Run a draft on a real file and see what every step would do, without changing your library.",{"title":494,"path":495,"stem":496,"description":497,"children":-1},"Quarantine and failures","\u002Fautomations\u002Fquarantine","3.automations\u002F09.quarantine","What happens to an upload when its intake workflow fails, and how to retry, release or delete it.",[499,519,558,593,604,623,634,677,712,725,741],{"title":500,"path":501,"stem":502,"children":503,"icon":518},"Getting started","\u002Fgetting-started","1.getting-started\u002F1.index",[504,506,510,514],{"title":505,"path":501,"stem":502},"Introduction",{"title":507,"path":508,"stem":509},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation",{"title":511,"path":512,"stem":513},"Configure ShareX","\u002Fgetting-started\u002Fsharex","1.getting-started\u002F3.sharex",{"title":515,"path":516,"stem":517},"Updating Tessra","\u002Fgetting-started\u002Fupdating","1.getting-started\u002F4.updating","i-lucide-rocket",{"title":520,"icon":521,"path":522,"stem":523,"children":524,"page":557},"Library","i-lucide-folder","\u002Flibrary","2.library",[525,529,533,537,541,545,549,553],{"title":526,"path":527,"stem":528},"Uploading files","\u002Flibrary\u002Fuploading","2.library\u002F1.uploading",{"title":530,"path":531,"stem":532},"Files and folders","\u002Flibrary\u002Ffiles-and-folders","2.library\u002F2.files-and-folders",{"title":534,"path":535,"stem":536},"Sharing files","\u002Flibrary\u002Fsharing","2.library\u002F3.sharing",{"title":538,"path":539,"stem":540},"Tags","\u002Flibrary\u002Ftags","2.library\u002F4.tags",{"title":542,"path":543,"stem":544},"Fields","\u002Flibrary\u002Ffields","2.library\u002F5.fields",{"title":546,"path":547,"stem":548},"Attachments","\u002Flibrary\u002Fattachments","2.library\u002F6.attachments",{"title":550,"path":551,"stem":552},"Search","\u002Flibrary\u002Fsearch","2.library\u002F7.search",{"title":554,"path":555,"stem":556},"Trash and recovery","\u002Flibrary\u002Ftrash","2.library\u002F8.trash",false,{"title":559,"path":560,"stem":561,"children":562,"icon":592},"Automations","\u002Fautomations","3.automations\u002F01.index",[563,565,569,573,577,581,585,586,587,588],{"title":564,"path":560,"stem":561},"Overview",{"title":566,"path":567,"stem":568},"Your first workflow","\u002Fautomations\u002Ffirst-workflow","3.automations\u002F02.first-workflow",{"title":570,"path":571,"stem":572},"The editor","\u002Fautomations\u002Feditor","3.automations\u002F03.editor",{"title":574,"path":575,"stem":576},"Values and templates","\u002Fautomations\u002Fvalues","3.automations\u002F04.values",{"title":578,"path":579,"stem":580},"Conditions and branching","\u002Fautomations\u002Fbranching","3.automations\u002F05.branching",{"title":582,"path":583,"stem":584},"Upload intake","\u002Fautomations\u002Fintake","3.automations\u002F06.intake",{"title":489,"path":490,"stem":491},{"title":5,"path":483,"stem":485},{"title":494,"path":495,"stem":496},{"title":589,"path":590,"stem":591},"Workflow templates","\u002Fautomations\u002Ftemplates","3.automations\u002F10.templates","i-lucide-workflow",{"title":594,"path":595,"stem":596,"children":597,"icon":603},"Connections","\u002Fconnections","4.connections\u002F1.index",[598,599],{"title":564,"path":595,"stem":596},{"title":600,"path":601,"stem":602},"AI providers","\u002Fconnections\u002Fai-providers","4.connections\u002F2.ai-providers","i-lucide-plug",{"title":605,"path":606,"stem":607,"children":608,"icon":622},"AI","\u002Fai","5.ai\u002F1.index",[609,610,614,618],{"title":564,"path":606,"stem":607},{"title":611,"path":612,"stem":613},"AI classify and extract","\u002Fai\u002Fclassify-and-extract","5.ai\u002F2.classify-and-extract",{"title":615,"path":616,"stem":617},"AI describe, summarize and write","\u002Fai\u002Fdescribe-and-write","5.ai\u002F3.describe-and-write",{"title":619,"path":620,"stem":621},"AI detect and suggest tags","\u002Fai\u002Fdetect-and-tag","5.ai\u002F4.detect-and-tag","i-lucide-sparkles",{"title":624,"path":625,"stem":626,"children":627,"icon":633},"OCR","\u002Focr","5.ocr\u002F1.index",[628,629],{"title":564,"path":625,"stem":626},{"title":630,"path":631,"stem":632},"Setup","\u002Focr\u002Fsetup","5.ocr\u002F2.setup","i-lucide-scan-text",{"title":635,"path":636,"stem":637,"children":638,"icon":676},"Self-hosting","\u002Fself-hosting","6.self-hosting\u002F1.index",[639,640,644,648,652,656,660,664,668,672],{"title":564,"path":636,"stem":637},{"title":641,"path":642,"stem":643},"Troubleshooting","\u002Fself-hosting\u002Ftroubleshooting","6.self-hosting\u002F10.troubleshooting",{"title":645,"path":646,"stem":647},"Configuration","\u002Fself-hosting\u002Fconfiguration","6.self-hosting\u002F2.configuration",{"title":649,"path":650,"stem":651},"Reverse proxies and HTTPS","\u002Fself-hosting\u002Freverse-proxy","6.self-hosting\u002F3.reverse-proxy",{"title":653,"path":654,"stem":655},"DigitalOcean","\u002Fself-hosting\u002Fdigitalocean","6.self-hosting\u002F4.digitalocean",{"title":657,"path":658,"stem":659},"Backups and restoration","\u002Fself-hosting\u002Fbackups","6.self-hosting\u002F5.backups",{"title":661,"path":662,"stem":663},"Users and roles","\u002Fself-hosting\u002Fusers","6.self-hosting\u002F6.users",{"title":665,"path":666,"stem":667},"Single sign-on","\u002Fself-hosting\u002Fsingle-sign-on","6.self-hosting\u002F7.single-sign-on",{"title":669,"path":670,"stem":671},"Two-factor and passkeys","\u002Fself-hosting\u002Ftwo-factor-and-passkeys","6.self-hosting\u002F8.two-factor-and-passkeys",{"title":673,"path":674,"stem":675},"Importing","\u002Fself-hosting\u002Fimporting","6.self-hosting\u002F9.importing","i-lucide-server",{"title":678,"path":679,"stem":680,"children":681,"icon":711},"Guides","\u002Fguides","7.guides\u002F1.index",[682,683,687,691,695,699,703,707],{"title":564,"path":679,"stem":680},{"title":684,"path":685,"stem":686},"Optimize ShareX uploads","\u002Fguides\u002Fcompress-uploads","7.guides\u002F2.compress-uploads",{"title":688,"path":689,"stem":690},"Send Discord notifications","\u002Fguides\u002Fdiscord-notifications","7.guides\u002F3.discord-notifications",{"title":692,"path":693,"stem":694},"Organize screenshots with AI","\u002Fguides\u002Fcategorize-screenshots","7.guides\u002F4.categorize-screenshots",{"title":696,"path":697,"stem":698},"Extract receipts with AI","\u002Fguides\u002Fextract-receipts","7.guides\u002F5.extract-receipts",{"title":700,"path":701,"stem":702},"Name screenshots with AI","\u002Fguides\u002Fai-file-names","7.guides\u002F6.ai-file-names",{"title":704,"path":705,"stem":706},"Run AI locally with Ollama","\u002Fguides\u002Flocal-ai-ollama","7.guides\u002F7.local-ai-ollama",{"title":708,"path":709,"stem":710},"Make screenshots searchable","\u002Fguides\u002Fsearchable-screenshots","7.guides\u002F8.searchable-screenshots","i-lucide-book-open",{"title":713,"icon":714,"path":715,"stem":716,"children":717,"page":557},"Reference","i-lucide-library","\u002Freference","8.reference",[718,721],{"title":719,"path":366,"stem":720},"Step reference","8.reference\u002F1.steps",{"title":722,"path":723,"stem":724},"Limits and errors","\u002Freference\u002Flimits","8.reference\u002F2.limits",{"title":726,"path":727,"stem":728,"children":729,"icon":740},"Development","\u002Fdevelopment","9.development\u002F1.index",[730,732,736],{"title":731,"path":727,"stem":728},"Local development",{"title":733,"path":734,"stem":735},"Plugin development","\u002Fdevelopment\u002Fplugins","9.development\u002F2.plugins",{"title":737,"path":738,"stem":739},"Writing documentation","\u002Fdevelopment\u002Fdocumentation","9.development\u002F3.documentation","i-lucide-code",{"title":742,"path":743,"stem":744,"children":745,"icon":772},"Comparisons","\u002Fcomparisons","99.comparisons\u002F1.index",[746,748,752,756,760,764,768],{"title":747,"path":743,"stem":744},"Comparing Tessra",{"title":749,"path":750,"stem":751},"Tessra and Zipline","\u002Fcomparisons\u002Fzipline","99.comparisons\u002F2.zipline",{"title":753,"path":754,"stem":755},"Tessra and XBackBone","\u002Fcomparisons\u002Fxbackbone","99.comparisons\u002F3.xbackbone",{"title":757,"path":758,"stem":759},"Tessra and chibisafe","\u002Fcomparisons\u002Fchibisafe","99.comparisons\u002F4.chibisafe",{"title":761,"path":762,"stem":763},"Tessra and Slink","\u002Fcomparisons\u002Fslink","99.comparisons\u002F5.slink",{"title":765,"path":766,"stem":767},"Tessra and Pingvin Share","\u002Fcomparisons\u002Fpingvin-share","99.comparisons\u002F6.pingvin-share",{"title":769,"path":770,"stem":771},"Tessra and PicoShare","\u002Fcomparisons\u002Fpicoshare","99.comparisons\u002F7.picoshare","i-lucide-scale",1796303405108,"2eb8bd5e-681b-4964-b4c2-2a23ddfda32e"]