Skip to content

[Due for payment 2025-06-25] [$250] Re-enabling the approval workflow create two approval flow. #62380

Description

@m-natarajan

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: 9.1.47-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @jayeshmangwani
Slack conversation (hyperlinked to channel name): #Expensify Bugs

Action Performed:

  1. Go to Workspaces -> any "Collect" workspace.
  2. Navigate to Workflows and change the Approver.
  3. Disable the "Add approvals" workflow.
  4. Enable it again.
  5. You’ll now see two approval workflows.

Expected Result:

On the Control Plan, we don’t allow multiple approval workflows. However, if you disable and then re-enable the workflow, two workflows get created.

Actual Result:

Re-enabling the approval workflow create two approval flow.

Workaround:

Unknown

Platforms:

Select the officially supported platforms where the issue was reproduced:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop
Platforms Tested: On which of our officially supported platforms was this issue tested:
  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence
two-workflows-for-collect-plan.mov

Image

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021927676755677178179
  • Upwork Job ID: 1927676755677178179
  • Last Price Increase: 2025-05-28
  • Automatic offers:
    • thelullabyy | Contributor | 107505536
Issue OwnerCurrent Issue Owner: @JmillsExpensify

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions