Skip to content

CRD-2.6: Workflow Activation Commands #25

@charleslbryant

Description

@charleslbryant

User Story

As an operator, I can activate/deactivate workflows for execution

Commands

  • forge-dotnet activate-workflow <id>
  • forge-dotnet deactivate-workflow <id>

API Integration

PUT/PATCH /workflows/{id} with active field

Acceptance Criteria

  • Changes workflow active status via API
  • Confirms status change
  • Handles workflows already in target state
  • Shows current status after change

Tasks Breakdown

  • Extend IWorkflowService with activation methods
  • Extend N8nWorkflowClient with activation endpoints
  • Implement ActivateWorkflowCommand
  • Implement DeactivateWorkflowCommand
  • Add status confirmation and user feedback
  • Add comprehensive error handling
  • Write unit tests for all components
  • Update documentation

Parent Issues

Priority

Medium - Simple state toggle operation

Metadata

Metadata

Assignees

No one assigned

    Labels

    crdChange Request Document - User StorynextMedium priority - next sprint

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions