1. Workflow
Application API
  • Overview
  • Development Guide
  • Filter Demo
  • Guidelines for Using Filters
  • Field Type Comparison Table
  • ErrorCode
  • App
    • Get app information
      GET
    • Batch create app item groups
      POST
    • Batch create app items
      POST
  • Conversational bot
    • Create conversation bot
      POST
  • Worksheet
    • Get worksheet list
      POST
    • Create worksheet
      POST
    • Get worksheet structure information
      GET
    • Update worksheet structure
      POST
    • Delete worksheet
      DELETE
    • Batch create custom actions
      POST
  • Worksheet row records
    • Get row record list
    • Get row record details
    • Update row record
    • Delete row record
    • Create row record
    • Batch add row records
    • Batch update row record details
    • Batch delete row records
    • Get relation records
    • Get row record pivot data
    • Get record sharing link
    • Get row record logs
    • Get row record discussions
    • Get approval workflow execution details
    • Get approval process execution list by row record
  • Custom page
    • Updatecustom Page
  • Option set
    • Get option set list
    • Create option set
    • Edit option set
    • Disable option set
  • Public query
    • Find member
    • Find department
    • Get region information
  • Knowledge base
    • Get knowledge base list under the app
    • Knowledge base search
  • view
    • Batchcreateview
  • Workflow
    • Get trigger process list
      GET
    • Createworkflow
      POST
    • BatchcontentWorkflownode
      POST
    • Deleteworkflownode
      DELETE
    • Trigger workflow
      POST
    • Get trigger process details
      GET
    • Deleteworkflow
      DELETE
    • Get workflow structure details
      GET
    • Publishworkflow
      POST
    • Validateworkflow
      POST
  • Role
    • Get role list
    • Create role
    • Get role details
    • Delete role
    • Add role members
    • Remove role members
    • Member exits all roles
  • Chart
    • Createchart
  • Schemas
    • 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
    • FilterTarget
    • FilterField
    • 鉴权信息
    • 人员对象
    • 自定义页面
    • 应用角色
    • 人员信息
    • 统计图数值字段参数
    • 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
    • Base response object
    • 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
  1. Workflow

BatchcontentWorkflownode

POST
/v3/app/workflows/{workflow_id}/nodes/batch
QUERY LENGTH LIMIT EXCEEDED. MAX ALLOWED QUERY : 500 CHARS

Request

Authorization
or
Path Params

Header Params

Body Params application/jsonRequired

Example
{
    "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"
            }
        }
    ]
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://www.nocoly.com/v3/app/workflows//nodes/batch' \
--header 'HAP-Appkey: {{appkey}}' \
--header 'HAP-Sign: {{sign}}' \
--header 'Content-Type: application/json' \
--data '{
    "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"
            }
        }
    ]
}'

Responses

🟢200OK
application/json
Call successful
Bodyapplication/json

Example
{
    "success": true,
    "data": {
        "createdNodes": [
            {
                "nodeAlias": "string",
                "nodeId": "string",
                "nodeType": "string",
                "name": "string",
                "prevNode": {
                    "property1": "string",
                    "property2": "string"
                },
                "parentNode": {
                    "property1": "string",
                    "property2": "string"
                },
                "config": {
                    "property1": "string",
                    "property2": "string"
                },
                "property1": "string",
                "property2": "string"
            }
        ],
        "updatedNodes": [
            {
                "nodeAlias": "string",
                "nodeId": "string",
                "nodeType": "string",
                "name": "string",
                "prevNode": {
                    "property1": "string",
                    "property2": "string"
                },
                "parentNode": {
                    "property1": "string",
                    "property2": "string"
                },
                "config": {
                    "property1": "string",
                    "property2": "string"
                },
                "property1": "string",
                "property2": "string"
            }
        ],
        "property1": "string",
        "property2": "string"
    },
    "error_code": 0,
    "error_msg": "string"
}
Modified at 2026-06-25 10:21:06
Previous
Createworkflow
Next
Deleteworkflownode
Built with