workflow-engine

All demonstrations

No model

Folder inventory

The run walks a folder tree. One short loop handles one entry: take the next path, check what it is, add a row for a file or queue the entries of a folder. Then the same rows are written twice: one CSV table, and a report with one table per folder.

Root folder whose files are inventoried into the CSV report
examples

How it runs

The run: completed63 steps · 134 ms
  1. code · 3 steps

    Prepare

    Starts an empty queue and an empty table, and queues the entries of the folder.

  2. code · 58 steps

    Walk the tree

    One loop per entry: a file gets a row with its name, size, type, time and checksum; a folder has its entries queued.

  3. code · 2 steps

    Write the files

    Writes the rows as one CSV table and as a report with one table per folder.

Every cell is one step of the runIn the order it happened, coloured by who did it.
codemodelpersonEvery step is code.

The result

The table it wrote, first rows
NameSizeMIMEMD5
README.md19.48 KBtext/markdownda446788…
approve-and-copy.json2.68 KBapplication/json8f464644…
approve-and-copy.md3.08 KBtext/markdown98f531f3…
documentation-digest-entry.tmpl91 Bcddb8436…
documentation-digest-judged.json31.52 KBapplication/json4f4c36be…

Go deeper