Skip to content

Bug: Project chosen at install is not written to variables.projectId #2607

Closed

Description

@larryro

Problem

The project selected in the install wizard is stored on the schedule row (wfSchedules.projectId) but workflows read variables.projectId → {{input.projectId}}. Operators who already picked a project still see an empty projectId in schedule variables.

Part of epic #2602.

Current behaviour

empty projectId in variables

Code pointers

  • services/platform/convex/automations/install_actions.ts ~99–102 — variables seeded from workflow file only
  • services/platform/convex/workflow_engine/helpers/scheduler/scan_and_trigger.ts — input: variables ?? {} (does not merge row projectId)

Proposed change

On install/binding reconcile: if start schema has projectId and the schedule row has projectId, auto-write variables.projectId (do not overwrite operator-filled values).

Acceptance criteria

  • After install with a chosen project, variables.projectId matches that project
  • Operator-edited values are not overwritten on reconcile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpriority: highservice: platform

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions