Skip to content

Block incomplete service flows from moving to Ready #1166

Description

@matKlju

AS A service designer
I WANT incomplete service-flow elements to block moving a service to Ready
SO THAT only complete service flows can be marked as ready.

Description

A service can currently be moved to Ready while its canvas contains unconnected nodes or edges, or a Next Service node without a valid target. This creates incomplete service flows.

Moving from Draft to Ready must be blocked until all canvas elements are connected and every Next Service reference is resolved. Draft saving remains non-blocking.

Acceptance criteria

  • A service cannot be moved from Draft to Ready when the canvas contains an unconnected node or edge.
  • A node with missing connections displays:
    • EN: Connect all service blocks.
    • ET: Ühenda kõik teenuse plokid.
  • An unused edge displays:
    • EN: Complete all unfinished flows.
    • ET: Lõpeta kõik lõpetamata vood.
  • A service containing a Next Service node with no selected target service cannot be moved from Draft to Ready.
  • A Next Service reference shown as unavailable after import (greyed out) blocks moving the service to Ready.
  • A Next Service node without a selected or available target displays:
    • EN: Resolve all Next Service references.
    • ET: Lahenda kõik järgmise teenuse viited.
  • The validation identifies every unconnected node, unconnected edge, and unresolved Next Service reference that blocks the Ready transition.
  • A Next Service reference must have a selected and available target service before it no longer blocks moving to Ready.
  • A selected and available Next Service target may be in Draft, Ready, or Active status; its status does not block the Ready transition.
  • Once all blocking nodes, edges, and Next Service references are resolved or removed, this validation no longer blocks moving the service to Ready.
  • Draft saving remains available when the service has a valid title.

Activity

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

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions