Hey everyone,
first of all I would like to mention how useful I find this app - life changer.
Now to the bugs I believe to have found:
Action Blocks & Notifications
If you create a notification within an action block and configure the press/button action to invoke another action block, passed variables will not be inserted. So if I press the notification the invoked action block will get the literal string "[lv=someVar]" as input, instead of the variable value.
I assume this happens because the action block that creates the notification has already ended by the time the notification is pressed and thus its variables are no longer available. With a wait timer (e.g. 5 seconds) after the notification creation the scenario actually works. But of course, that's not really a solution to the problem (e.g. looping the action block until the notification is no longer present).
As a side note: It's a bit strange that notification press/button actions don't use the value that a variable had at the time the notification was created, but rather use the value it has at the time the action is triggered.
Action Blocks & Dialogs
Dialogs won't show if the action block that creates it is invoked by another action block - only the notification sound will play. The system log will state "Could not find macro in Confirm Next Actions". If the action block is invoked via "Test actions" it works.
Found a workaround by accident: Placing a HTTP request (e.g. to localhost) before the dialog and saving the HTTP response into a string variable somehow solves the problem - no clue why; didn't find any other working solution.
I attached two action blocks that can be used to test both cases by running "Test 1". To test the dialog issue, disable the HTTP request in "Test 2".
Please let me know if I'm doing something wrong or if anyone knows a workaround for the first issue (using macros won't work, because of the behavior mentioned in the side note).
Thanks
Regards,
Eggerd
first of all I would like to mention how useful I find this app - life changer.
Now to the bugs I believe to have found:
Action Blocks & Notifications
If you create a notification within an action block and configure the press/button action to invoke another action block, passed variables will not be inserted. So if I press the notification the invoked action block will get the literal string "[lv=someVar]" as input, instead of the variable value.
I assume this happens because the action block that creates the notification has already ended by the time the notification is pressed and thus its variables are no longer available. With a wait timer (e.g. 5 seconds) after the notification creation the scenario actually works. But of course, that's not really a solution to the problem (e.g. looping the action block until the notification is no longer present).
As a side note: It's a bit strange that notification press/button actions don't use the value that a variable had at the time the notification was created, but rather use the value it has at the time the action is triggered.
Action Blocks & Dialogs
Dialogs won't show if the action block that creates it is invoked by another action block - only the notification sound will play. The system log will state "Could not find macro in Confirm Next Actions". If the action block is invoked via "Test actions" it works.
Found a workaround by accident: Placing a HTTP request (e.g. to localhost) before the dialog and saving the HTTP response into a string variable somehow solves the problem - no clue why; didn't find any other working solution.
I attached two action blocks that can be used to test both cases by running "Test 1". To test the dialog issue, disable the HTTP request in "Test 2".
Please let me know if I'm doing something wrong or if anyone knows a workaround for the first issue (using macros won't work, because of the behavior mentioned in the side note).
Thanks
Regards,
Eggerd