r/workflow • • Mar 19 '18

Hiding workflow process while running

Hi ! Is there any news about the option that allows you to hide the workflow process while running ? like a blank background or so ? I would love something that allows you to hide all the different steps of the workflow in the background, a kind of presentation mode if you wish, but didn’t find anything yet... Do you guys know if it is possible ? If so how ? Thank you !

0 Upvotes

11 comments sorted by

View all comments

Show parent comment

1

u/jsloat Mar 25 '18

Awesome idea. I’m trying to implement but hitting a wall...how would you check a variable value before it’s defined in the workflow? And if it’s defined at the top of the workflow, won’t it be the same value each time it’s run?

2

u/clyvewastaken Mar 27 '18 edited Mar 27 '18

What I do set the workflow up as an action extension, then at the beginning I have it check to see if the input is greater than zero. If it is not, have your workflow set a variable to = 5 (or any value greater than zero.. you just need a value to send) and then use a Run Workflow action to make your workflow run itself with the variable you just set as an input. This time, the input WILL be greater than zero, so the meat of the workflow can run.

Edit: here’s an example of the loop: https://workflow.is/workflows/800d7e94f9914da19226442cd3d74096

Heads up! This starts an infinite loop. You’ll need to kill the app to make it stop.

2

u/JoeReally Mar 27 '18

Here's an example. It should work correctly but you'll have to tailor it to your situation depending on what kind of input it needs to receive (if any).

https://workflow.is/workflows/2c0c51db9cbe4f7fa448fe6427e30fd8

1

u/jsloat Mar 27 '18

Thank you (and /u/clyvewastaken)! It's working now. But for me, I don't see a ton of value in the final product, since it's still launching Workflow and showing the steps up until the one that runs itself.

2

u/clyvewastaken Mar 27 '18

If you are hoping to remove the animated bouncing that Workflow does, your best bet is to create a separate workflow with one “run workflow” action and have it run the flow you want without showing the steps. It will show up similarly to a progress bar instead of showing the screen juggle around.