-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
crdChange Request Document - User StoryChange Request Document - User StorynextMedium priority - next sprintMedium priority - next sprint
Description
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
- Part of PRD PRD: Workflow Management Commands #2: Workflow Management Commands
- Depends on CRD-2.1
Priority
Medium - Simple state toggle operation
Metadata
Metadata
Assignees
Labels
crdChange Request Document - User StoryChange Request Document - User StorynextMedium priority - next sprintMedium priority - next sprint