CreateWorkflowInstances

创建工作流实例 *This Tool has a 'MCP Resource',please request CreateWorkflowInstances(MCP Resource) to get more examples for using this tool.

Server Alibabacloud Dataworks alibabacloud-dataworks-mcp-server
Category Write
Risk class Medium
Parameters 114 required

What CreateWorkflowInstances does on Alibabacloud Dataworks

AI agents use CreateWorkflowInstances to create or update resources in Alibabacloud Dataworks — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Alibabacloud Dataworks environment.

ParameterTypeRequiredDescription
Name string Yes 名称
Type string Yes 工作流实例的类型。- SupplementData:补数据。RootTaskIds与IncludeTaskIds的填写方法随补数据模式而变化,见DefaultRunProperties.Mode参数说明- ManualWorkflow:手动工作流。WorkflowId需要填手动业务流程的WorkflowId,RootT
Comment string 创建的原因说明
EnvType string 项目环境。- Prod:生产- Dev:开发
Periods object 补数据周期设置
ProjectId number Yes 项目ID
WorkflowId number Yes 所属工作流的ID。周期任务的WorkflowId均为1
TaskParameters string 任务参数,为特定任务设置参数。JSON格式,key为任务ID,value的格式参考任务脚本参数(GetTask接口的结果Task.Script.Parameter)
AutoStartEnabled boolean 创建后是否直接运行,默认为true
WorkflowParameters string 工作流参数,优先级高于任务参数。格式参考任务脚本参数(GetTask接口的结果Task.Script.Parameter)
DefaultRunProperties object 运行时配置

Parameters from the server's own tool schema.

Why CreateWorkflowInstances needs a policy

An AI agent can call CreateWorkflowInstances faster than any human can review — one bad instruction and it creates or modifies resources in Alibabacloud Dataworks by the hundred, each call as confident as the last.

Risk signalsHigh parameter count (36 properties)

Questions about CreateWorkflowInstances

What does the CreateWorkflowInstances tool do? +

创建工作流实例 *This Tool has a 'MCP Resource',please request CreateWorkflowInstances(MCP Resource) to get more examples for using this tool. It is categorised as a Write tool in the Alibabacloud Dataworks MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

What parameters does CreateWorkflowInstances accept? +

CreateWorkflowInstances accepts 11 parameters: Name, Type, Comment, EnvType, Periods, ProjectId, WorkflowId, TaskParameters, AutoStartEnabled, WorkflowParameters, DefaultRunProperties. Required: Name, Type, ProjectId, WorkflowId. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on CreateWorkflowInstances? +

Register the Alibabacloud Dataworks MCP server in PolicyLayer and add a rule for CreateWorkflowInstances: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Alibabacloud Dataworks. Nothing to install.

What risk level is CreateWorkflowInstances? +

CreateWorkflowInstances is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.

Can I rate-limit CreateWorkflowInstances? +

Yes. Add a rate_limit block to the CreateWorkflowInstances rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block CreateWorkflowInstances completely? +

Set action: deny in the PolicyLayer policy for CreateWorkflowInstances. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides CreateWorkflowInstances? +

CreateWorkflowInstances is provided by the Alibabacloud Dataworks MCP server (alibabacloud-dataworks-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.