Support Variables in Notification in Status Bar

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

Moderator: Martin

Locked
98b427af

Support Variables in Notification in Status Bar

Post by 98b427af » 13 Apr 2014 17:02

Specifically for the field "Notification ID."

I use several Notification IDs and have a nearly-identical flow for each of them. If that field supported variables I could combine them into a single flow and specify which ID to use.

(It would be perfect if the icon could also be specified by variable as well, or if custom icons could be used, but I have a feeling that that's asking too much. :))

User avatar
Nerey
Posts: 102
Joined: 07 Mar 2014 16:59

Re: Support Variables in Notification in Status Bar

Post by Nerey » 13 Apr 2014 21:18

You can use case-like algorythm, that will choose one notification according to the variable
Sorry for bad english, my native is russian.

98b427af

Re: Support Variables in Notification in Status Bar

Post by 98b427af » 14 Apr 2014 14:23

True, but if you take that to the extreme there are six checkboxes, 37 icons, and 999 possible notification IDs, for a total of 2,365,632 possible combinations. So writing a flow that is as flexible as possible would be a bit silly. :)

You could write a flow handling only the cases you need, but that means updating the flow every time there's a new case or (what I do) having a "notification manager" flow plus a pair of flows for every case, one that calls the manager and passes it identifying info about the case (typically part or all of the second flow's name) and another that is called by the manager, using that info, to display the notification for the case.

There could be other ways to handle it but none less complicated than those. I'd rather have the ability to use variables for everything (even checkboxes, somehow).

User avatar
Nerey
Posts: 102
Joined: 07 Mar 2014 16:59

Re: Support Variables in Notification in Status Bar

Post by Nerey » 14 Apr 2014 17:29

Wow, so many
I think, you don't need so many different notifications at the same time
Sorry for bad english, my native is russian.

Locked