More intelligent backup

Post your feature requets for new triggers, conditions, actions and other improvements.

Moderator: Martin

Locked
Wibbly
Posts: 418
Joined: 17 Mar 2014 09:02

More intelligent backup

Post by Wibbly » 24 Dec 2014 10:37

The File Observer trigger seems to suggest/confirm that flows.xml is updated every time any flow executes.

Can there be a trigger for when flows (or indeed the widgets file) have actually been edited/changed (by me)? I would use this to trigger a backup of the Automagic folder, rather than having a simple periodic backup. Thus when I'm editing flows I could have a proper and up-to-date version history not littered with 'versions' of my Automagic folder that were stored just as a result of flows executing as normal?

User avatar
MURTUMA
Posts: 697
Joined: 05 Mar 2013 22:43

Re: More intelligent backup

Post by MURTUMA » 24 Dec 2014 12:00

This flow triggers, when you exit flow editor. Add some conditions or change the trigger activity to suit better your needs.

http://automagic4android.com/flow.php?i ... de9d8e7020

Wibbly
Posts: 418
Joined: 17 Mar 2014 09:02

Re: More intelligent backup

Post by Wibbly » 24 Dec 2014 12:46

Thanks - will take a look :)

Wibbly
Posts: 418
Joined: 17 Mar 2014 09:02

Re: More intelligent backup

Post by Wibbly » 24 Dec 2014 13:27

Hmm. Seems to work for now but there's note for that trigger that it's unreliable with Lollipop, so I don't want to rely on it.

Request remains :-)

Wibbly
Posts: 418
Joined: 17 Mar 2014 09:02

Re: More intelligent backup

Post by Wibbly » 02 Jan 2015 18:47

Wibbly wrote:Hmm. Seems to work for now but there's note for that trigger that it's unreliable with Lollipop, so I don't want to rely on it.

Request remains :-)
Is there a reason why "activity_ended" should be unreliable? If it works with my phone, will it be reliable on my phone?

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: More intelligent backup

Post by Martin » 05 Jan 2015 20:36

Sometimes events can be missed so activity ended will not be triggered in all cases. Unfortunately there's not much I can do about this trigger since Google decided to remove some APIs in Lollipop that have been used for this purpose before.

Wibbly
Posts: 418
Joined: 17 Mar 2014 09:02

Re: More intelligent backup

Post by Wibbly » 05 Jan 2015 21:37

Can a new trigger be added to support the specific need to back up flows/widgets - triggers only when flows or widgets are edited by the user?

Locked