* Validate that a workflow is ready for execution
(workflowId: string)
| 333 | * Validate that a workflow is ready for execution |
| 334 | */ |
| 335 | async validateWorkflow(workflowId: string): Promise<boolean> { |
| 336 | try { |
| 337 | const status = await this.getWorkflowStatus(workflowId) |
| 338 | return status.isDeployed |
| 339 | } catch (error) { |
| 340 | return false |
| 341 | } |
| 342 | } |
| 343 | |
| 344 | /** |
| 345 | * Set a new API key |
no test coverage detected