Page 1 of 1

Support Variables in Notification in Status Bar

Posted: 13 Apr 2014 17:02
by 98b427af
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. :))

Re: Support Variables in Notification in Status Bar

Posted: 13 Apr 2014 21:18
by Nerey
You can use case-like algorythm, that will choose one notification according to the variable

Re: Support Variables in Notification in Status Bar

Posted: 14 Apr 2014 14:23
by 98b427af
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).

Re: Support Variables in Notification in Status Bar

Posted: 14 Apr 2014 17:29
by Nerey
Wow, so many
I think, you don't need so many different notifications at the same time