MCPcopy Index your code
hub / github.com/simstudioai/sim / validateWorkflow

Method validateWorkflow

packages/ts-sdk/src/index.ts:335–342  ·  view source on GitHub ↗

* Validate that a workflow is ready for execution

(workflowId: string)

Source from the content-addressed store, hash-verified

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

Callers 2

statusExampleFunction · 0.95
index.test.tsFile · 0.80

Calls 1

getWorkflowStatusMethod · 0.95

Tested by

no test coverage detected