[Bug] Notification Posted? repeats same notification after Fork

39 views
Skip to first unread message

timsu92

unread,
Sep 9, 2025, 12:22:19 PMSep 9
to Automate for Android
Hi developer!

In "Notification Posted?" blocks, we get an option to proceed "When transition". When we choose this, we won't see the identical notification since it's not created or updated.

Hence, I use this to check on newly arriving notifications. However, if we have a "Fork" block on its way before going back to the same "Notification Posted?" block, and the cloned fiber has something to do, the "Notification Posted?" block will keep returning the same notification.

Reproduce the issue
To reproduce the problem, I've attached the flow and a screenshot of the flow. The steps and the outcome are described here:
  1. Leave some notifications that are meant to be minimized, so there's a notification posted by com.android.systemui, whose title is something like "另 3 則通知" or "3 more notifications".
  2. Execute the attached flow
  3. See toast messages are keeping on showing  "Notification Posted?" block got the same notification
  4. To check that this issue is highly related to the "Fork" block, remove the block and re-wire toast's end back to  "Notification Posted?"'s head
  5. Observe that only one toast message is shown
My Environment:
  • Model: Samsung S21 5G
  • OS: Android 15
  • Automate: v1.48.0
Expected behavior
Best: Since the notification isn't newly posted or updated, a fiber should pause on the "Notification Posted?" block, so no toast message should be seen in this minimal reproduce flow.
Good: A second-best solution should only report the notification once and no more. At least this solution doesn't drain the battery that much.

Many thanks for creating this app! It really saves a lot of time from doing trivial jobs!
Minimal reproduce.flo
Screenshot_20250909_234023_Automate.jpg

Yang H·

unread,
Sep 9, 2025, 2:02:25 PMSep 9
to automa...@googlegroups.com

timsu92 <tim...@gmail.com> 于 2025年9月10日周三 00:22写道:
--
You received this message because you are subscribed to the Google Groups "Automate for Android" group.
To unsubscribe from this group and stop receiving emails from it, send an email to automate-use...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/automate-user/df7059df-0aa1-4ac7-b7aa-bfa9a180cfb9n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages