Run workflows on-demand

Right now, users have a hard time understanding how to run cron workflows on demand. They have to click into the first step of a cron workflow (which is weird and not intuitive) and enter “{}” as an Input and then create a new Work Order. This is already not great UX… how cool if they could just click a “play” button from the canvas view and be presented with maybe 3 options: (1) Run workflow with no Input, (2) Run workflow with a custom input, or (3) Run workflow starting with the final state of the last run (so that if they have a cursor set up in the workflow, this will be included in the initial state).

Some users are getting really confused currently on how to run and test cron workflows on-demand. See video for the workaround I’m suggesting to them in the meantime: Workflow Rerun Recommendations** **Summary:** In this video, I provide guidance on rerunning workflows efficiently. By avoiding creating new work orders and instead opting to rerun specific steps, we can retain crucial data like the last sync time. I recommend utilizing the rerun feature to streamline testing processes and ensure accurate results. No action is requested from the viewers. **** - Chapters: | Loom

In v1-to-v2 migration calls this week, 3 different users told me they really miss the “play” button from v1 which provided a one-click option to run the workflow on demand from where it last left off

Nice! Adding in the mockups we’ve got so far.

@roina , @ayodele , @stu , for tomorrow’s conversation on manual runs here’s a distillation of some things I’d really like to be able to do:

  1. i’d like to be able to run a workflow from the canvas, regardless of what type of trigger i’ve got. please don’t make me click the extra click into the trigger.

  2. i’d like to be able to run with:

    a. {} (like “clear state” in v1)
    b. custom input (via editor OR JSON file upload interface—drop file on editor?)
    c. a list of previous inputs (last 5 plus any i’ve starred/pinned/named*)
    d. (and only if it’s cron) the last final state (as if cron matched now)

  3. if i’m not on the Canvas, but instead on the Inspector and there is no input selected, i’d like the default “new workorder” action to run with a {}

  4. And (also on Inspector) i’d like to be able to choose my input (before running) from the same set of options in #2.

Excited to talk about this with you guys tomorrow!

*We’ve talked about this (Issue #311 Name a dataclip) and it’s a VERY MUCH FOR LATER thing, but wanted to make sure that nobody forgot that we’re heading in that direction!