应用 API
    • 开发指南
    • 字段类型对照表
    • 筛选器使用指南
    • 错误码
    • API 使用指南
    • 应用
      • 获取应用信息
      • 批量创建应用项分组
      • 批量创建应用项
    • 对话机器人
      • 新建对话机器人
    • 工作表
      • 获取工作表列表
      • 新建工作表
      • 获取工作表结构信息
      • 更新工作表结构
      • 删除工作表
      • 批量创建自定义动作
    • 工作表行记录
      • 获取行记录列表
      • 获取行记录详情
      • 更新行记录
      • 删除行记录
      • 新建行记录
      • 批量新增行记录
      • 批量更新行记录详情
      • 批量删除行记录
      • 获取关联记录
      • 获取行记录透视数据
      • 获取记录分享链接
      • 获取行记录日志
      • 获取行记录讨论
      • 获取审批流程执行详情
      • 根据行记录获取审批流程执行列表
    • 自定义页面
      • 更新自定义页面
    • 选项集
      • 获取选项集列表
      • 创建选项集
      • 编辑选项集
      • 停用选项集
    • 公共查询
      • 查找成员
      • 查找部门
      • 获取地区信息
    • 知识库
      • 获取应用下知识库列表
      • 知识库检索
    • 视图
      • 批量创建视图
    • 统计图
      • 新建统计图
    • 工作流
      • 获取触发流程列表
      • 创建工作流
      • 批量添加工作流节点
      • 删除工作流节点
      • 触发流程
      • 获取触发流程详情
      • 删除工作流
      • 获取工作流结构详情
      • 发布工作流
      • 校验工作流
    • 角色
      • 获取角色列表
      • 创建角色
      • 获取角色详情
      • 删除角色
      • 添加角色成员
      • 移除角色成员
      • 成员退出所有角色
    • 数据模型
      • Schemas
        • options
        • relation
        • obj_base_response
        • obj_field
        • obj_filter
        • obj_record_row
        • obj_record_log
        • obj_record_discussion
        • obj_pivot_meta
        • obj_pivot_dimensions
        • obj_pivot_data
        • obj_process
        • obj_process_detail
        • obj_input
        • obj_output
        • obj_role
        • obj_role_permission
        • obj_user
        • obj_user_desensitized
        • obj_department
        • obj_custom_page
        • obj_optionset
        • obj_filter_children
        • obj_app
      • 鉴权信息
      • 人员对象
      • 自定义页面
      • 应用角色
      • 人员信息
      • 统计图数值字段参数
      • FilterField
      • FilterTarget
      • ApiError
      • BatchCreateViewsRequest
      • DataScope
      • ViewItem
      • Aggregation
      • BatchCreateViewsResponse
      • TimeRange
      • ChartType
      • DynamicRangePoint
      • DimensionItem
      • MetricItem
      • SortItem
      • CreateChartData
      • InlineChartConfig
      • ViewConfig
      • TextConfig
      • HtmlConfig
      • CarouselConfig
      • ButtonActionItem
      • ButtonConfig
      • TabConfig
      • ContainerConfig
      • ChartComponent
      • SectionComponent
      • TextComponent
      • HtmlComponent
      • ViewComponent
      • CarouselComponent
      • ButtonComponent
      • TabComponent
      • ContainerComponent
      • SaveCustomPageComponent
      • SaveCustomPageData
      • ComponentConfig
      • SaveCustomPageRequest
      • app
      • CreateChartRequest
      • SaveCustomPageResponseData
      • CreateChartResponseData
      • ButtonItem
      • 基础返回对象
      • DimensionField
      • memberInfo
      • ValueField
      • department_with_path
      • SortField
      • departmentInfo
      • TimePointDynamic
      • regionInfo
      • process
      • process_detail
      • CustomDynamicRange
      • input
      • CustomRange
      • output
      • role
      • role_permission
      • optionset
      • field
      • CreateChartResponse
      • PageComponent
      • Position
      • filter_children
      • ErrorResponse
      • discussion
      • TabItem
      • SaveCustomPageResponse
      • User
      • WorkflowInputParameter
      • WorkflowOutputParameter
      • WorkflowNode
      • WorkflowValidationError
      • create_process_NodeRef
      • create_process_ValueRef
      • create_process_FieldValueRef
      • create_process_Filter
      • create_process_Condition
      • create_process_WorksheetEventTriggerConfig
      • create_process_ScheduleTriggerConfig
      • create_process_DateFieldTriggerConfig
      • create_process_WebhookTriggerConfig
      • create_process_TriggerSpec
      • batch_create_process_nodes_NodeRef
      • batch_create_process_nodes_ValueRef
      • batch_create_process_nodes_FieldValueRef
      • batch_create_process_nodes_RecordValueRef
      • batch_create_process_nodes_FieldPatch
      • batch_create_process_nodes_Filter
      • batch_create_process_nodes_Condition
      • batch_create_process_nodes_PersonRef
      • batch_create_process_nodes_AttachmentSpec
      • batch_create_process_nodes_FormProperty
      • batch_create_process_nodes_NodeSpec
      • batch_create_process_nodes_SortSpec
      • ApiResponseBase
      • WorkflowListType
      • WorkflowInstanceStatus
      • FlowNodeType
      • InstanceLogStatus
      • WorkItemOperationType
      • WorkItemLogAction
      • ApprovalAuthType
      • BatchRuleType
      • CallbackType
      • TriggerType
      • AppType
      • ApprovalResultBranchType
      • FailureCause
      • SignatureType
      • AppBrief
      • UserBrief
      • ControlValue
      • FlowNodeAuth
      • SelectNodeObject
      • FlowNode
      • InstanceLog
      • ProcessBrief
      • FileInfo
      • Signature
      • WorkItem
      • WorkItemLog
      • ChangedField
      • WorkflowInstance
      • BatchApprovalRequest
      • BatchApprovalInstance
      • BatchApprovalResult
      • OpinionRequest
      • ReturnRequest
      • bundled_2af3dc97c2fe
      • bundled_da9b1112b2d5
      • bundled_66310009f584
      • custom_page
      • worksheet
      • filter
      • record_row

    batch_create_process_nodes_NodeSpec

    节点公共外壳。nodeAlias 仅当前请求作用域内唯一即可;nodeType 决定 config 字段集合;name 是节点显示名称,必填且不能为空白字符串。
    顺序/容器拆两个独立 NodeRef:
    • prevNode(FlowNode.prveId)— 仅顺序。不传时第一个节点接在触发器后,后续节点接在数组前一项后。
    • parentNode — 当前流程内的容器归属(典型场景:分支节点的 paths[].alias)。块节点(approval_block / sub_process)内部节点不通过 parentNode 挂,写在 config.process.nodes 里。
    需要数据源的节点在具体配置里声明:ValueRef.node、target/input。rollup / approval_block / sub_process 统一用 config.target。
    创建后响应同时返回 nodeAlias 与 nodeId。

    {
        "nodeAlias": "string",
        "nodeId": "string",
        "nodeType": "get_single",
        "name": "string",
        "description": "string",
        "prevNode": {
            "nodeAlias": "string",
            "nodeId": "string"
        },
        "parentNode": {
            "nodeAlias": "string",
            "nodeId": "string"
        },
        "config": {
            "worksheetId": "string",
            "filter": {
                "logic": "and",
                "items": [
                    {}
                ]
            },
            "sort": [
                {}
            ],
            "ifEmpty": "continue",
            "limit": 0,
            "fields": [
                {
                    "fieldId": "string",
                    "op": "set",
                    "value": {
                        "kind": "literal",
                        "value": null,
                        "node": {
                            "nodeAlias": "string",
                            "nodeId": "string"
                        },
                        "fieldId": "string"
                    },
                    "type": 0,
                    "require": true,
                    "hide": true,
                    "subFields": [
                        {}
                    ],
                    "enumDefault": 0,
                    "allowAddOptions": true,
                    "richText": true,
                    "dataSource": "string"
                }
            ],
            "target": {
                "kind": "record",
                "node": {
                    "nodeAlias": "string",
                    "nodeId": "string"
                }
            },
            "permanent": true,
            "branchType": "condition",
            "mode": "firstMatch",
            "paths": [
                {
                    "alias": "string",
                    "name": "string",
                    "filter": {
                        "logic": "and",
                        "items": [
                            {}
                        ]
                    },
                    "result": "pass"
                },
                {
                    "alias": "string",
                    "name": "string",
                    "filter": {
                        "logic": "and",
                        "items": [
                            {}
                        ]
                    },
                    "result": "pass"
                }
            ],
            "method": "count",
            "fieldId": "string",
            "expression": "string",
            "precision": 0,
            "nullZero": true,
            "computeType": "number",
            "startTime": {
                "kind": "literal",
                "value": null,
                "node": {
                    "nodeAlias": "string",
                    "nodeId": "string"
                },
                "fieldId": "string"
            },
            "endTime": {
                "kind": "literal",
                "value": null,
                "node": {
                    "nodeAlias": "string",
                    "nodeId": "string"
                },
                "fieldId": "string"
            },
            "outputUnit": "Y",
            "inputTime": {
                "kind": "literal",
                "value": null,
                "node": {
                    "nodeAlias": "string",
                    "nodeId": "string"
                },
                "fieldId": "string"
            },
            "offsetExpression": "string",
            "duration": {
                "value": 0,
                "unit": "minute"
            },
            "time": {
                "kind": "literal",
                "value": null,
                "node": {
                    "nodeAlias": "string",
                    "nodeId": "string"
                },
                "fieldId": "string"
            },
            "recipients": [
                {
                    "kind": "user",
                    "userId": "string",
                    "roleId": "string",
                    "departmentId": "string",
                    "includeChildren": true,
                    "jobId": "string",
                    "orgRoleId": "string",
                    "node": {
                        "nodeAlias": "string",
                        "nodeId": "string"
                    },
                    "fieldId": "string"
                }
            ],
            "title": "string",
            "content": {
                "kind": "literal",
                "value": null,
                "node": {
                    "nodeAlias": "string",
                    "nodeId": "string"
                },
                "fieldId": "string"
            },
            "viewId": "string",
            "showRecordTitle": true,
            "cc": [
                {
                    "kind": "user",
                    "userId": "string",
                    "roleId": "string",
                    "departmentId": "string",
                    "includeChildren": true,
                    "jobId": "string",
                    "orgRoleId": "string",
                    "node": {
                        "nodeAlias": "string",
                        "nodeId": "string"
                    },
                    "fieldId": "string"
                }
            ],
            "subject": {
                "kind": "literal",
                "value": null,
                "node": {
                    "nodeAlias": "string",
                    "nodeId": "string"
                },
                "fieldId": "string"
            },
            "body": {
                "kind": "literal",
                "value": null,
                "node": {
                    "nodeAlias": "string",
                    "nodeId": "string"
                },
                "fieldId": "string"
            },
            "bodyType": "plain",
            "attachments": [
                {
                    "name": "string",
                    "url": "string",
                    "value": {
                        "kind": "literal",
                        "value": null,
                        "node": {
                            "nodeAlias": "string",
                            "nodeId": "string"
                        },
                        "fieldId": "string"
                    }
                }
            ],
            "process": {
                "mode": "create",
                "processId": "string",
                "templateProcessId": "string",
                "name": "string",
                "start": {
                    "worksheetId": "string",
                    "processConfig": {},
                    "updateData": [
                        {
                            "fieldId": "string",
                            "op": "set",
                            "value": {
                                "kind": "literal",
                                "value": null,
                                "node": {
                                    "nodeAlias": "string",
                                    "nodeId": "string"
                                },
                                "fieldId": "string"
                            },
                            "type": 0,
                            "require": true,
                            "hide": true,
                            "subFields": [
                                {}
                            ],
                            "enumDefault": 0,
                            "allowAddOptions": true,
                            "richText": true,
                            "dataSource": "string"
                        }
                    ],
                    "property1": "string",
                    "property2": "string"
                },
                "nodes": [
                    {
                        "nodeAlias": "string",
                        "nodeId": "string",
                        "nodeType": "get_single",
                        "name": "string",
                        "description": "string",
                        "prevNode": {
                            "nodeAlias": "string",
                            "nodeId": "string"
                        },
                        "parentNode": {
                            "nodeAlias": "string",
                            "nodeId": "string"
                        },
                        "config": {
                            "worksheetId": "string",
                            "filter": {
                                "logic": "and",
                                "items": [
                                    {}
                                ]
                            },
                            "sort": [
                                {}
                            ],
                            "ifEmpty": "continue",
                            "limit": 0,
                            "fields": [
                                {
                                    "fieldId": "string",
                                    "op": "set",
                                    "value": {
                                        "kind": "literal",
                                        "value": null,
                                        "node": {
                                            "nodeAlias": "string",
                                            "nodeId": "string"
                                        },
                                        "fieldId": "string"
                                    },
                                    "type": 0,
                                    "require": true,
                                    "hide": true,
                                    "subFields": [
                                        {}
                                    ],
                                    "enumDefault": 0,
                                    "allowAddOptions": true,
                                    "richText": true,
                                    "dataSource": "string"
                                }
                            ],
                            "target": {
                                "kind": "record",
                                "node": {
                                    "nodeAlias": "string",
                                    "nodeId": "string"
                                }
                            },
                            "permanent": true,
                            "branchType": "condition",
                            "mode": "firstMatch",
                            "paths": [
                                {
                                    "alias": "string",
                                    "name": "string",
                                    "filter": {
                                        "logic": "and",
                                        "items": [
                                            {}
                                        ]
                                    },
                                    "result": "pass"
                                },
                                {
                                    "alias": "string",
                                    "name": "string",
                                    "filter": {
                                        "logic": "and",
                                        "items": [
                                            {}
                                        ]
                                    },
                                    "result": "pass"
                                }
                            ],
                            "method": "count",
                            "fieldId": "string",
                            "expression": "string",
                            "precision": 0,
                            "nullZero": true,
                            "computeType": "number",
                            "startTime": {
                                "kind": "literal",
                                "value": null,
                                "node": {
                                    "nodeAlias": "string",
                                    "nodeId": "string"
                                },
                                "fieldId": "string"
                            },
                            "endTime": {
                                "kind": "literal",
                                "value": null,
                                "node": {
                                    "nodeAlias": "string",
                                    "nodeId": "string"
                                },
                                "fieldId": "string"
                            },
                            "outputUnit": "Y",
                            "inputTime": {
                                "kind": "literal",
                                "value": null,
                                "node": {
                                    "nodeAlias": "string",
                                    "nodeId": "string"
                                },
                                "fieldId": "string"
                            },
                            "offsetExpression": "string",
                            "duration": {
                                "value": 0,
                                "unit": "minute"
                            },
                            "time": {
                                "kind": "literal",
                                "value": null,
                                "node": {
                                    "nodeAlias": "string",
                                    "nodeId": "string"
                                },
                                "fieldId": "string"
                            },
                            "recipients": [
                                {
                                    "kind": "user",
                                    "userId": "string",
                                    "roleId": "string",
                                    "departmentId": "string",
                                    "includeChildren": true,
                                    "jobId": "string",
                                    "orgRoleId": "string",
                                    "node": {
                                        "nodeAlias": "string",
                                        "nodeId": "string"
                                    },
                                    "fieldId": "string"
                                }
                            ],
                            "title": "string",
                            "content": {
                                "kind": "literal",
                                "value": null,
                                "node": {
                                    "nodeAlias": "string",
                                    "nodeId": "string"
                                },
                                "fieldId": "string"
                            },
                            "viewId": "string",
                            "showRecordTitle": true,
                            "cc": [
                                {
                                    "kind": "user",
                                    "userId": "string",
                                    "roleId": "string",
                                    "departmentId": "string",
                                    "includeChildren": true,
                                    "jobId": "string",
                                    "orgRoleId": "string",
                                    "node": {
                                        "nodeAlias": "string",
                                        "nodeId": "string"
                                    },
                                    "fieldId": "string"
                                }
                            ],
                            "subject": {
                                "kind": "literal",
                                "value": null,
                                "node": {
                                    "nodeAlias": "string",
                                    "nodeId": "string"
                                },
                                "fieldId": "string"
                            },
                            "body": {
                                "kind": "literal",
                                "value": null,
                                "node": {
                                    "nodeAlias": "string",
                                    "nodeId": "string"
                                },
                                "fieldId": "string"
                            },
                            "bodyType": "plain",
                            "attachments": [
                                {
                                    "name": "string",
                                    "url": "string",
                                    "value": {
                                        "kind": "literal",
                                        "value": null,
                                        "node": {
                                            "nodeAlias": "string",
                                            "nodeId": "string"
                                        },
                                        "fieldId": "string"
                                    }
                                }
                            ],
                            "process": {
                                "mode": "create",
                                "processId": "string",
                                "templateProcessId": "string",
                                "name": "string",
                                "start": {
                                    "worksheetId": "string",
                                    "processConfig": {},
                                    "updateData": [
                                        {
                                            "fieldId": "string",
                                            "op": "set",
                                            "value": {
                                                "kind": "literal",
                                                "value": null,
                                                "node": {
                                                    "nodeAlias": "string",
                                                    "nodeId": "string"
                                                },
                                                "fieldId": "string"
                                            },
                                            "type": 0,
                                            "require": true,
                                            "hide": true,
                                            "subFields": [
                                                {}
                                            ],
                                            "enumDefault": 0,
                                            "allowAddOptions": true,
                                            "richText": true,
                                            "dataSource": "string"
                                        }
                                    ],
                                    "property1": "string",
                                    "property2": "string"
                                },
                                "nodes": [],
                                "property1": "string",
                                "property2": "string"
                            },
                            "initiators": [
                                {
                                    "kind": "user",
                                    "userId": "string",
                                    "roleId": "string",
                                    "departmentId": "string",
                                    "includeChildren": true,
                                    "jobId": "string",
                                    "orgRoleId": "string",
                                    "node": {
                                        "nodeAlias": "string",
                                        "nodeId": "string"
                                    },
                                    "fieldId": "string"
                                }
                            ],
                            "formProperties": [
                                {
                                    "fieldId": "string",
                                    "permission": "readonly",
                                    "property": 1,
                                    "type": 0,
                                    "showInCard": true,
                                    "showCard": 0,
                                    "workflow": true,
                                    "allowAdd": "1",
                                    "allowCancel": "1",
                                    "allowEdit": "1",
                                    "allowExport": "1",
                                    "isdecrypt": "1",
                                    "subFormProperties": [
                                        {}
                                    ]
                                }
                            ],
                            "addNotAllowView": true,
                            "processConfig": {},
                            "updateData": [
                                {
                                    "fieldId": "string",
                                    "op": "set",
                                    "value": {
                                        "kind": "literal",
                                        "value": null,
                                        "node": {
                                            "nodeAlias": "string",
                                            "nodeId": "string"
                                        },
                                        "fieldId": "string"
                                    },
                                    "type": 0,
                                    "require": true,
                                    "hide": true,
                                    "subFields": [
                                        {}
                                    ],
                                    "enumDefault": 0,
                                    "allowAddOptions": true,
                                    "richText": true,
                                    "dataSource": "string"
                                }
                            ],
                            "approvers": [
                                {
                                    "kind": "user",
                                    "userId": "string",
                                    "roleId": "string",
                                    "departmentId": "string",
                                    "includeChildren": true,
                                    "jobId": "string",
                                    "orgRoleId": "string",
                                    "node": {
                                        "nodeAlias": "string",
                                        "nodeId": "string"
                                    },
                                    "fieldId": "string"
                                }
                            ],
                            "instruction": "string",
                            "allowReject": true,
                            "allowTransfer": true,
                            "allowAddApprover": true,
                            "returnTo": "string",
                            "assignee": {
                                "kind": "user",
                                "userId": "string",
                                "roleId": "string",
                                "departmentId": "string",
                                "includeChildren": true,
                                "jobId": "string",
                                "orgRoleId": "string",
                                "node": {
                                    "nodeAlias": "string",
                                    "nodeId": "string"
                                },
                                "fieldId": "string"
                            },
                            "submitText": "string",
                            "execution": {
                                "mode": "once",
                                "continueAfterComplete": true,
                                "executeAll": true,
                                "executeAllCount": 0,
                                "fromTrigger": true
                            },
                            "language": "javascript",
                            "inputs": [
                                {
                                    "key": "string",
                                    "value": {
                                        "kind": "literal",
                                        "value": null,
                                        "node": {
                                            "nodeAlias": "string",
                                            "nodeId": "string"
                                        },
                                        "fieldId": "string"
                                    }
                                }
                            ],
                            "code": "string",
                            "auto_retry": true,
                            "outputs": [
                                {
                                    "name": "string",
                                    "type": "string",
                                    "reference_value": null
                                }
                            ],
                            "property1": "string",
                            "property2": "string"
                        }
                    }
                ],
                "property1": "string",
                "property2": "string"
            },
            "initiators": [
                {
                    "kind": "user",
                    "userId": "string",
                    "roleId": "string",
                    "departmentId": "string",
                    "includeChildren": true,
                    "jobId": "string",
                    "orgRoleId": "string",
                    "node": {
                        "nodeAlias": "string",
                        "nodeId": "string"
                    },
                    "fieldId": "string"
                }
            ],
            "formProperties": [
                {
                    "fieldId": "string",
                    "permission": "readonly",
                    "property": 1,
                    "type": 0,
                    "showInCard": true,
                    "showCard": 0,
                    "workflow": true,
                    "allowAdd": "1",
                    "allowCancel": "1",
                    "allowEdit": "1",
                    "allowExport": "1",
                    "isdecrypt": "1",
                    "subFormProperties": [
                        {}
                    ]
                }
            ],
            "addNotAllowView": true,
            "processConfig": {},
            "updateData": [
                {
                    "fieldId": "string",
                    "op": "set",
                    "value": {
                        "kind": "literal",
                        "value": null,
                        "node": {
                            "nodeAlias": "string",
                            "nodeId": "string"
                        },
                        "fieldId": "string"
                    },
                    "type": 0,
                    "require": true,
                    "hide": true,
                    "subFields": [
                        {}
                    ],
                    "enumDefault": 0,
                    "allowAddOptions": true,
                    "richText": true,
                    "dataSource": "string"
                }
            ],
            "approvers": [
                {
                    "kind": "user",
                    "userId": "string",
                    "roleId": "string",
                    "departmentId": "string",
                    "includeChildren": true,
                    "jobId": "string",
                    "orgRoleId": "string",
                    "node": {
                        "nodeAlias": "string",
                        "nodeId": "string"
                    },
                    "fieldId": "string"
                }
            ],
            "instruction": "string",
            "allowReject": true,
            "allowTransfer": true,
            "allowAddApprover": true,
            "returnTo": "string",
            "assignee": {
                "kind": "user",
                "userId": "string",
                "roleId": "string",
                "departmentId": "string",
                "includeChildren": true,
                "jobId": "string",
                "orgRoleId": "string",
                "node": {
                    "nodeAlias": "string",
                    "nodeId": "string"
                },
                "fieldId": "string"
            },
            "submitText": "string",
            "execution": {
                "mode": "once",
                "continueAfterComplete": true,
                "executeAll": true,
                "executeAllCount": 0,
                "fromTrigger": true
            },
            "language": "javascript",
            "inputs": [
                {
                    "key": "string",
                    "value": {
                        "kind": "literal",
                        "value": null,
                        "node": {
                            "nodeAlias": "string",
                            "nodeId": "string"
                        },
                        "fieldId": "string"
                    }
                }
            ],
            "code": "string",
            "auto_retry": true,
            "outputs": [
                {
                    "name": "string",
                    "type": "string",
                    "reference_value": null
                }
            ],
            "property1": "string",
            "property2": "string"
        }
    }
    Built with