[APP][Pro] Flow Version History

With this app, you can restore older versions of your Flows. Open the App Settings page in a web browser, and download the last 5 revisions of your Flows.

Version 1.0.1

  • Added URLs to the app manifest

Version 1.0.2

Fix crash issue

This sound like a very useful app!

Thx! nice one.

Nice initiative, Sven, thanks.

Creating & keeping revisions is fully automated as per app description;

Two things are not clear to me yet:
Does a revision get saved after manually saving a flow? (I press “Save” as often as possible)
Are the revisions still kept after deleting a flow (by accident)?

Yes, when manually saving the Flow, 1 new revision is created. If there are more than 5 revisions, the oldest one gets deleted. I’m still working on a manual “number of max revisions” settings.

Yes, but only when you know their ID (from, for example, your browser history). I want to build a “Trash” feature where deleted Flows are kept until it will get deleted after f.e. 30 days

I was alr thinking of a script which saves all flow names + their ID somehow.
This can come in handy to both revision viewing and to keep deleted flow ID’s around.

Ah, of course, the flow ID is in the URL.

The app collects a list of Flows already (including their ID), so I only need to add a listener for flow.delete and advancedflow.delete and then set a deleted flag for that Flow. However, building a UI for it in the settings page will take some time.

On initialialization of the app, it obtains all Flows and copies them (/userdata folder on Homey). So it creates 1 revision for each Flow. After this, it listens for the update events (which trigger when you save the Flow) and creates a new revision on each update. If I also add a listener for the delete event, I can add it to a specific “deleted” array and show it in the settings page. I hope to add it tomorrow or tonight, but I’m not sure.

No hurries!

Version 1.0.3

  • Added trash section

Version 1.0.4

  • Added max revisions setting
  • Added purge revisions button (removes all revisions)
  • Added empty trash button

Version 1.0.5

  • Update dependencies

Version 1.0.6

  • Translated app manifest to Dutch

Thanks for this .

I tried deleting a flow I no longer needed. It appeared in the trash section with a download button in my Android app. Pressed download and Amazon_Connection_Test.homeyadvflow appeared in my downloads folder. I’ve copied it across to my Windows PC where I manage my advanced flows.

I can’t see what to do next. Using ‘Open with’ on Android doesn’t show Homey - clicking it opens it with the wrong app. I can’t see an option to import a flow in Android or Windows app.

Sorry if I’m being dense.

Andy

You need to use the web app to import Flows. Press the 3 dots next to “My Flows”


Then, while you’re in this menu, hold the ALT key on your keyboard and click Import Flow while holding the ALT key

Thank you for the prompt reply. That worked. Puzzled why the option is so obscure. Without help I’d never have found it.

Andy

Version 1.0.7

  • Update dependencies
  • Fix Empty Trash confirm dialog
  • Fix Purge Revisions confirm dialog

Version 1.0.8

  • Improved settings page