You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Rules - "Merchant" rule created on workspace, is applied on track expense on Self DM. #81135
Version Number: 9.3.11-17 Reproducible in staging?: Yes Reproducible in production?: N/A - new feature, doesn't exist in prod If this was caught during regression testing, add the test name, ID and link from BrowserStack:#80853 Email or phone of affected tester (no customers):ibellicotest+2250@gmail.com Issue reported by: Applause Internal Team Bug source: Exploratory - Significant User Experience Deterioration Device used: Motorola MotoG60 / Android 12 (Hybrid app) - Windows 11 / Chrome App Component: Money Requests
Action Performed:
Prerequisite: Account has at least one workspace.
Prerequisite 2: Rules enabled.
Prerequisite 3: Account has Self DM.
Open the staging.new.expensify.com website,
Navigate to "Workspaces" and open workspace editor.
Click on "Rules" > "Add merchant rule"
On "For expenses with", add any merchant name.
On "Apply these updates", add any category and any description.
Save the created rule.
Create a manual expense with the merchant name used for the rule and submit it to Self DM.
Open the just created expense.
Note that rule is applied for the expense, despite not being submitted to the workspace where rule was created,
Expected Result:
Merchant rules should only be applied on expenses submitted to the workspace where rule was created.
Actual Result:
Merchant rules created on specific workspace are also applied on track expenses submitted to Self DM.
We're passing the active policy when tracking expenses, which causes the BE to apply the rules for the given active policy. I'm not sure why we do that, so I'll investigate that next.
Activity
melvin-bot commentedon Feb 2, 2026
Triggered auto assignment to @joekaufmanexpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.luacmartins commentedon Feb 2, 2026
Feature is not available in prod. NAB. I'm working on this
luacmartins commentedon Feb 2, 2026
We're passing the active policy when tracking expenses, which causes the BE to apply the rules for the given active policy. I'm not sure why we do that, so I'll investigate that next.
luacmartins commentedon Feb 2, 2026
PR in review
luacmartins commentedon Feb 3, 2026
PR merged, we can close this.