Skip to content

[Due for payment 2026-01-16] [$1750] R1 Bring overLimitForwardsTo configuration into New Expensify #75775

Closed

Description

@JmillsExpensify

When we previously brought over approvals into NewDot, we decided to descope a less used feature that adds approvers to the approval chain when a report exceeds a certain amount (e.g. overLimitFowardsTo). Now we're coming back to add that same feature in product. The main considerations are:

Approval workflow creation

We'll add a new step in the creation flow, which comes after the employee and approver selections. This will be an optional step, with Skip and Next options.

Image

If a user clicks Next without entering either the report total or the additional approver, we'll error like so.

Image Image

If a user clicks Next without entering both a report total and an additional approver, we'll error like so.

Image

A final type of error occurs when an approver is configured as an additional approver tied to a report limit, but they have already approved earlier in the workflow. For that case, the following error will appear.

Image

For clarity, this is a GIF of the full end-to-end creation flow.

Image

Approval workflow summary

The main note for the approval summary is that, if an approval limit is set for an approver, we'll show Reports above [amount] forward to [member].

Image

Editing approval workflows

There are no strict changes to this flow, though I've shared a recording below so we can verify everything works as expected when we to the PR and unit tests.

Image

I think that's it, though a note that I'm adding the internal label because this issue is not open for proposals. It will be worked on internally, in conjunction with C+

Issue OwnerCurrent Issue Owner: @JmillsExpensify

Activity

  1. added
    Internal
    NewFeature
    on Nov 21, 2025
  2. melvin-bot commented on Nov 21, 2025

    @melvin-bot

    Current assignee @JmillsExpensify is eligible for the NewFeature assigner, not assigning anyone new.

  3. added
    Weekly
    and removed
    Daily
    on Nov 21, 2025
  4. melvin-bot commented on Nov 21, 2025

    @melvin-bot

    Triggered auto assignment to Design team member for new feature review - @dubielzyk-expensify (NewFeature)

  5. JS00001 commented on Nov 21, 2025

    @JS00001
    Contributor

    @hungvu193 Thanks for working on this! We're implementing overLimitFowardsTo (which exists in classic) into new expensify. All of the mocks are above.

    Could you layout a high level proposal for this, and get started as soon as you can? If you have any questions or need any BE changes, LMK!

  6. hungvu193 commented on Nov 22, 2025

    @hungvu193
    Contributor

    Thanks for assigning! I'll be working on it this weekend

  7. hungvu193 commented on Nov 22, 2025

    @hungvu193
    Contributor

    Hi @JS00001, just want to double-check this information related to overLimitForwardsTo flow:

    • The params for the report amount is approvalLimit and the additional approver is overLimitForwardsTo.
    • On the edit approval workflow, when selecting the approver, if we set a limit before > we open the Edit Aprroval Limit Page, otherwise we open the list of available approver page.
  8. 111 remaining items

  9. JmillsExpensify commented on Jan 16, 2026

    @JmillsExpensify
    ContributorAuthor

    Payment summary:

  10. JmillsExpensify commented on Jan 16, 2026

    @JmillsExpensify
    ContributorAuthor

    Did we get regression tests created with QA for this one? I think that's the only thing left.

  11. aimane-chnaif commented on Jan 16, 2026

    @aimane-chnaif
    Contributor

    Regression Test Proposal

    Test 1: Setting Approval Limit on an Approver (Create Flow)

    Precondition: Workspace with "Add approvals" enabled

    1. Go to Workspace > Workflows
    2. Click to create a new approval workflow
    3. Add members to "Expenses from"
    4. Select an approver
    5. Verify the approval limit page shows with Skip and Next buttons
    6. Click Skip
    7. Verify you return to the workflow editor without a limit set
    8. Click on the approver again
    9. Enter a report amount (e.g., $500)
    10. Leave the additional approver empty
    11. Click Next
    12. Verify you return to the workflow editor without a limit config set
    13. Clear the report amount
    14. Select an additional approver from the list
    15. Click Next
    16. Verify error "Please enter a valid amount" is shown
    17. Enter a report amount (e.g., $500)
    18. Click Next
    19. Verify the workflow shows the limit description (e.g., "Reports above $500 forward to [Name]")
    20. Save the workflow
    21. Verify workflow is created successfully

    Test 2: Editing Approval Limit on an Approver (Edit Flow)

    Precondition: Workspace with "Add approvals" enabled, with an existing approval workflow that has an approval limit set

    1. Go to Workspace > Workflows
    2. Click on an existing approval workflow with an approval limit
    3. Click on the approver with the limit
    4. Verify the amount field shows the existing limit
    5. Verify the additional approver is pre-selected
    6. Clear the report amount
    7. Click Save
    8. Verify error "Please enter a valid amount" is shown
    9. Enter a new report amount (e.g., $1000)
    10. Select a different additional approver
    11. Click Save
    12. Verify the new limit description shows correctly
    13. Click on the same approver again
    14. Click Remove limit
    15. Verify you return to the workflow editor
    16. Verify the limit description is no longer shown
    17. Save the workflow
    18. Verify workflow updates successfully without the approval limit
  12. aimane-chnaif commented on Jan 16, 2026

    @aimane-chnaif
    Contributor

    C+ payment is pending

  13. melvin-bot commented on Jan 16, 2026

    @melvin-bot

    Payment Summary

    Upwork Job

    BugZero Checklist (@JmillsExpensify)

    • (if NewFeature) I have created a PR for any necessary HelpDot updates, or I confirmed no updates are necessary.
    • I have verified the correct assignees and roles are listed above and updated the necessary manual offers
    • I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants//hired)
    • I have verified the PR was not reverted
    • I have applied any discounts due to bugs/regressions introduced by this PR
    • I have paid out the Upwork contracts or cancelled the ones that are incorrect
    • I have verified the payment summary above is correct
  14. JmillsExpensify commented on Jan 20, 2026

    @JmillsExpensify
    ContributorAuthor

    Upwork contract sent.

  15. aimane-chnaif commented on Feb 2, 2026

    @aimane-chnaif
    Contributor

    @JmillsExpensify I accepted offer already

  16. JmillsExpensify commented on Feb 3, 2026

    @JmillsExpensify
    ContributorAuthor

    Paid out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentInternalNewFeatureWeekly

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions