Skip to content

[HR Import] Generalize Workflows page for any HR connection [F11] #90604

@francoisl

Description

@francoisl

Task

Update the Workflows page so the Gusto-specific logic introduced by the Gusto project works for any connected HR provider.

Files:

  • src/pages/workspace/workflows/WorkspaceWorkflowsPage.tsx — swap isGustoConnected for isAnyHRConnected; swap gustoMode for the per-provider mode returned by getHRApprovalMode(policy, connectionName). The "Configure via {{provider}}" link routes back to the HR page.
  • src/pages/workspace/workflows/approvals/WorkspaceWorkflowsApprovalsEditPage.tsx and WorkspaceWorkflowsApprovalsCreatePage.tsx — swap Gusto-specific guards for isAnyHRReadOnlyWorkflowMode(policy).
  • Approval chain rows should show a "from {provider}" tag.

Dependencies: F1, F3, F4.

Issue OwnerCurrent Issue Owner: @bernhardoj

Metadata

Metadata

Labels

InternalRequires API changes or must be handled by Expensify staffReviewingHas a PR in reviewWeeklyKSv2

Type

No fields configured for Task.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions