actualbudget/actual

[Bug]: Rule to change CLEARED to false is getting run regardless of conditions

Open

#5922 opened on Oct 14, 2025

View on GitHub
 (7 comments) (0 reactions) (0 assignees)JavaScript (7,129 stars) (603 forks)batch import
bughelp wantedrules

Description

Verified issue does not already exist?

  • I have searched and found no existing issue

What happened?

I created a rule to set the CLEARED flag to false on all imported transactions. The IF is amount < $10,000 (this is just a way to catch all rows), and the THEN is set cleared to false.

It works! The imported rows now import as uncleared.

However, everytime the rule runs, it marks all other previously imported transactions as uncleared. So now all my transactions on my chequing account are uncleared.

I also added another THEN to the rule just to see what rows it's actually meaning to update. I added THEN prepend to notes = TEST.

Imported, and the newly imported rows is uncleared, and it has TEST in the notes line.

However, all other rows in that account are now also uncleared, but there is no TEST in those rows.

So whenever you use cleared equals false in a rule it seems to clear all transactions in the account instead of just the imported transactions

How can we reproduce the issue?

  1. Marked all rows in checking as cleared
  2. Create a rule to catch all imported transactions (ex: amount < 10000, then cleared = false
  3. Import, and notice the newly imported rows are marked as uncleared, but now ALL other rows in the account are also uncleared.

Where are you hosting Actual?

Pikapods

What browsers are you seeing the problem on?

Chrome

Operating System

Windows 11

Contributor guide