案例文章
推荐的的流程模板
请稍后...
Code
2081
金蝶云星空有新的单据生成时,自动创建钉钉待办任务并发送钉钉工作通知
<p>每当金蝶云星空有指定类型的单据生成时,通过集简云流程自动获取该单据内的字段数据,并在钉钉创建待办任务,同时给企业内指定人员或部门发送钉钉工作通知</p>
zh-Hans
2023-01-02T07:19:57.000Z
2023-01-02T07:19:57.000Z
2023-11-12T01:50:37.000Z
1
el4061lf
每当金蝶云星空有指定类型的单据生成时,通过集简云流程自动获取该单据内的字段数据,并在钉钉创建待办任务,同时给企业内指定人员或部门发送钉钉工作通知
anyone
Z6gBm8wTuuTx
official
pc1265
passed
孙浩
fi4139zv
孙浩
[
{
"desc": "当单据中的数据发生变化时触发此动作",
"app_id": 267,
"action_id": 2487,
"action_type": "1",
"sort": "1",
"note": null
},
{
"desc": "查询单据列表",
"app_id": 267,
"action_id": 2690,
"action_type": "2",
"sort": "2",
"note": null
},
{
"desc": "通过用户的姓名获取指定用户userid(支持用户名、英文名或名称全拼)",
"app_id": 204,
"action_id": 1586,
"action_type": "2",
"sort": "3",
"note": null
},
{
"desc": "使用钉钉自建应用根据用户id查询用户的详细信息",
"app_id": 69,
"action_id": 1953,
"action_type": "2",
"sort": "4",
"note": null
},
{
"desc": "发起一个钉钉待办任务",
"app_id": 387,
"action_id": 3077,
"action_type": "2",
"sort": "5",
"note": null
},
{
"desc": "给指定员工或部门发送消息文本格式的工作通知",
"app_id": 402,
"action_id": 3161,
"action_type": "2",
"sort": "6",
"note": null
}
]
42
{
"id": 189,
"name": "金蝶云星空有新的单据生成时,自动创建钉钉待办任务并发送钉钉工作通知",
"url": "https://download.jijyun.cn/templates/2081%E2%88%9A.mp4",
"type": "templates",
"published_at": "2023-03-30T07:40:57.000Z",
"created_at": "2023-03-30T07:35:37.000Z",
"updated_at": "2023-11-09T07:03:11.000Z",
"app": null,
"template": 2081,
"sort": 99,
"Copy": null,
"help_collection": null,
"video_class": null,
"video_collection": null,
"time_length": null,
"description": null,
"recommend": null,
"cover": {
"id": 10311,
"name": "横.png",
"alternativeText": "",
"caption": "",
"width": 1920,
"height": 1080,
"formats": {
"thumbnail": {
"name": "thumbnail_横.png",
"hash": "thumbnail__d9bed6675b",
"ext": ".png",
"mime": "image/png",
"width": 245,
"height": 138,
"size": 18.05,
"path": null,
"url": "/uploads/thumbnail__d9bed6675b.png"
},
"large": {
"name": "large_横.png",
"hash": "large__d9bed6675b",
"ext": ".png",
"mime": "image/png",
"width": 1000,
"height": 563,
"size": 94.25,
"path": null,
"url": "/uploads/large__d9bed6675b.png"
},
"medium": {
"name": "medium_横.png",
"hash": "medium__d9bed6675b",
"ext": ".png",
"mime": "image/png",
"width": 750,
"height": 422,
"size": 67.95,
"path": null,
"url": "/uploads/medium__d9bed6675b.png"
},
"small": {
"name": "small_横.png",
"hash": "small__d9bed6675b",
"ext": ".png",
"mime": "image/png",
"width": 500,
"height": 281,
"size": 42.35,
"path": null,
"url": "/uploads/small__d9bed6675b.png"
}
},
"hash": "_d9bed6675b",
"ext": ".png",
"mime": "image/png",
"size": 63.36,
"url": "/uploads/_d9bed6675b.png",
"previewUrl": null,
"provider": "local",
"provider_metadata": null,
"created_at": "2023-03-30T07:35:11.000Z",
"updated_at": "2023-03-30T07:35:11.000Z"
}
}
false
4
{
"1": [
{
"key": "FormId",
"label": "请选择您要监测的单据类型",
"required": true,
"type": "string",
"help_txt": "请选择您要监测的单据类型",
"dropdown": true,
"choices": [
{
"key": "AP_PAYBILL",
"label": "付款单"
},
{
"key": "AR_receivable",
"label": "应收单"
},
{
"key": "AP_OtherPayable",
"label": "其他应付单"
},
{
"key": "AR_OtherRecAble",
"label": "其他应收单"
},
{
"key": "BD_Customer",
"label": "客户"
},
{
"key": "SAL_SaleOrder",
"label": "销售订单"
},
{
"key": "SAL_OUTSTOCK",
"label": "销售出库单"
},
{
"key": "CRM_Contract",
"label": "销售合同"
},
{
"key": "PUR_Requisition",
"label": "采购申请"
},
{
"key": "CN_PAYAPPLY",
"label": "付款申请"
},
{
"key": "IV_PURCHASEOC",
"label": "采购普通发票"
},
{
"key": "IV_PURCHASEIC",
"label": "采购增值税专用发票"
},
{
"key": "IV_SALESIC",
"label": "销售增值税专用发票"
},
{
"key": "IV_SALESOC",
"label": "销售普通发票"
},
{
"key": "STK_MisDelivery",
"label": "其他出库单"
},
{
"key": "SAL_QUOTATION",
"label": "销售报价单"
},
{
"key": "SAL_DELIVERYNOTICE",
"label": "发货通知单"
},
{
"key": "SAL_RETURNNOTICE",
"label": "退货通知单"
},
{
"key": "QM_InspectBill",
"label": "检验单"
}
]
},
{
"key": "FieldKeys",
"label": "结果中展示的字段",
"type": "string",
"multiples": true,
"required": true,
"help_txt": "本动作触发后,需要输出的字段信息,例如:表单编码,创建时间等"
},
{
"key": "FilterString",
"label": "筛选条件",
"type": "string",
"required": false,
"help_txt": "通过过滤条件筛选出您需要的单据,格式为:FBillNO='QTYSD00000003' 多个条件请使用 and 进行连接,如:FBillNO='QTYSD00000003' and FDATE='2022-07-20'。本动作将按照您配置的过滤条件获取单据,例如,获取当天的字段为某个状态的所有单据"
},
{
"key": "unique_field",
"label": "唯一字段",
"type": "string",
"required": false,
"help_txt": "用于对两次不同时间抓取的单据做对比去重处理,分辨出新的数据。单据中字段没有特殊变化的情况下无需修改",
"defaulttext": "FBILLNO"
}
],
"2": [
{
"key": "FormId",
"label": "业务对象表单Id",
"required": true,
"type": "string",
"dropdown": true,
"choices": [
{
"key": "ER_ExpenseRequest",
"label": "费用申请单"
},
{
"key": "SAL_SaleOrder",
"label": "销售订单"
},
{
"key": "AP_PAYBILL",
"label": "付款单"
},
{
"key": "AR_receivable",
"label": "应收单"
},
{
"key": "AP_OtherPayable",
"label": "其他应付单"
},
{
"key": "AR_OtherRecAble",
"label": "其他应收单"
},
{
"key": "CRM_Contract",
"label": "销售合同"
},
{
"key": "AR_receivable",
"label": "应收单"
}
]
},
{
"key": "FieldKeys",
"label": "需查询的字段",
"multiples": true,
"help_txt": "默认返回【FDate(日期),FID(单据id),FBillTypeID(单据类型),FCreatorId(创建人)】其他字段可以参考<a href=\"https://openapi.open.kingdee.com/ApiCenterDoc?operateId=588947657558853633\">金蝶云星空开放平台</a>"
},
{
"key": "FilterString",
"label": "过滤条件",
"multiples": false,
"type": "string",
"required": false,
"help_txt": "通过过滤条件筛选出您需要的单据,格式为:FBillNO='QTYSD00000003' 多个条件请使用 and 进行连接,如:FBillNO='QTYSD00000003' and FDATE='2022-07-20'。本动作将按照您配置的过滤条件获取单据,例如,获取当天的字段为某个状态的所有单据"
},
{
"key": "FNumber",
"label": "单据编码",
"help_txt": "请输入单据编码,注意:过滤条件、单据编码、单据ID三选一填写",
"required": false,
"type": "string"
},
{
"key": "FID",
"label": "单据ID",
"help_txt": "请输入单据FID,注意:过滤条件、单据编码、单据ID三选一填写",
"required": false,
"type": "string"
},
{
"key": "TopRowCount",
"label": "返回总行数",
"required": false,
"help_txt": "分页大小",
"type": "number"
},
{
"key": "StartRow",
"label": "开始行索引",
"required": false,
"help_txt": "起始页码",
"type": "number"
},
{
"key": "Limit",
"label": "最大行数",
"required": false,
"help_txt": "不能超过10000",
"type": "number"
},
{
"key": "self_filter",
"label": "自定义筛选",
"required": false,
"help_txt": "格式:字段名=值;例如输入FName=123将筛选出FName字段值为123的数据",
"type": "string"
}
],
"3": [
{
"key": "queryWord",
"label": "用户名称",
"type": "string",
"required": true,
"help_txt": "支持用户名、英文名或名称全拼进行查询;注意重名用户区分"
},
{
"key": "offset",
"label": "分页查询起点",
"type": "number",
"required": true,
"help_txt": "示例:0"
},
{
"key": "size",
"label": "分页大小",
"type": "number",
"required": true,
"help_txt": "示例:10"
}
],
"4": [
{
"key": "userid",
"label": "用户的userId",
"type": "string",
"required": true,
"help_txt": "示例:manager4220,可通过[查询员工ID]动作获取到用户的id"
},
{
"key": "language",
"label": "通讯录语言",
"type": "string",
"dropdown": true,
"choices": [
{
"key": "zh_CN",
"label": "中文"
},
{
"key": "en_US",
"label": "英文"
}
],
"help_txt": "默认值为中文"
}
],
"5": [
{
"key": "sourceId",
"label": "业务ID",
"type": "string",
"help_txt": "当ISV接入钉钉待办后,传递ISV应用业务系统侧的唯一标识任务ID。当待办创建成功后,需要更换新的sourceId,保持一个待办任务对应一个sourceId。创建钉钉官方待办时,该字段无需传入。"
},
{
"key": "subject",
"label": "待办标题",
"required": true,
"type": "string",
"help_txt": "最大长度为1024"
},
{
"key": "description",
"label": "待办备注描述",
"type": "string",
"help_txt": "最大长度为4096"
},
{
"key": "creatorId",
"label": "创建者的unionId",
"type": "string",
"required": true,
"help_txt": "\n 请输入用户的Unionid;您可以通过【钉钉通讯录】应用中的查询用户详情动作获取\n "
},
{
"key": "operatorId",
"label": "操作者unionId",
"type": "string",
"required": false,
"help_txt": "\n 请输入操作者的Unionid;您可以通过【钉钉通讯录】应用中的查询用户详情动作获取\n "
},
{
"key": "dueTime",
"label": "截止时间",
"type": "number",
"help_txt": "Unix时间戳,单位毫秒,可使用“内置应用-日期时间格式变更”进行日期时间转换"
},
{
"key": "executorIds",
"label": "执行者的unionId",
"type": "string",
"help_txt": "\n 请输入执行者的Unionid数组;您可以通过【钉钉通讯录】应用中的查询用户详情动作获取,示例:[\"xxxx\", \"yyyy\"]\n "
},
{
"key": "participantIds",
"label": "参与者的unionId",
"type": "string",
"help_txt": "\n 请输入参与者的Unionid数组;您可以通过【钉钉通讯录】应用中的查询用户详情动作获取,示例:[\"xxxx\", \"yyyy\"]\n "
},
{
"key": "detailUrl",
"label": "详情页url跳转地址",
"type": "obj",
"items": [
{
"key": "appUrl",
"label": "APP端详情页url跳转地址",
"type": "string",
"help_txt": "创建钉钉官方待办时,该字段无需传入;创建第三方待办时,需传入自身应用详情页链接"
},
{
"key": "pcUrl",
"label": "PC端详情页url跳转地址",
"type": "string",
"help_txt": "创建钉钉官方待办时,该字段无需传入;创建第三方待办时,需传入自身应用详情页链接"
}
]
},
{
"key": "isOnlyShowExecutor",
"label": "生成的待办是否仅展示在执行者的待办列表中",
"type": "boolean"
},
{
"key": "priority",
"label": "优先级",
"type": "string",
"dropdown": true,
"choices": [
{
"key": "10",
"label": "较低"
},
{
"key": "20",
"label": "普通"
},
{
"key": "30",
"label": "紧急"
},
{
"key": "40",
"label": "非常紧急"
}
]
}
],
"6": [
{
"key": "userid_list",
"label": "接收者的userid",
"dropdownTree": true,
"multiplesTree": true,
"queryParams": [
{
"label": "父节点id",
"key": "node_id",
"is_key": true,
"defaulttext": 1
},
{
"label": "标识",
"key": "flag",
"defaulttext": 1
}
],
"url": "/v1/api/application/dingdingself/dropdowntreeserver/get_dept_users",
"choices": [],
"help_txt": "请选择接收者;最大用户列表长度100"
},
{
"key": "dept_id_list",
"label": "接收者的部门id",
"dropdownTree": true,
"multiplesTree": true,
"queryParams": [
{
"label": "父节点id",
"key": "node_id",
"is_key": true,
"defaulttext": 1
},
{
"label": "标识",
"key": "flag",
"defaulttext": 1
}
],
"url": "/v1/api/application/dingdingself/dropdowntree/get_depts",
"choices": [],
"help_txt": "请选择接收部门;包括子部门下的所有用户;最多支持20个部门"
},
{
"key": "to_all_user",
"label": "是否发送给企业全部用户",
"type": "boolean",
"help_txt": "当值为否时,接受者和部门二选一必填, 默认为否"
},
{
"key": "content",
"label": "消息内容",
"help_txt": "建议500字符以内",
"required": true
}
]
}
true
[]
[]
[
{
"id": 305,
"name": "金蝶云星空",
"description": "<p>金蝶云·星空聚焦多组织,多利润中心的大中型企业,以 “开放、标准、社交”三大特性为数字经济时代的企业提供开放的 ERP 云平台。服务涵盖:财务、供应链、智能制造、阿米巴管理、全渠道营销、电商、HR、企业互联网服务。</p>",
"popular": 177,
"published_at": "2022-04-29T10:08:21.000Z",
"created_at": "2022-04-29T10:08:21.000Z",
"updated_at": "2022-10-21T12:22:30.000Z",
"app_id": "267",
"category": "ERP",
"locale": "zh-Hans",
"short_description": "ERP系统",
"available": true,
"appid": null,
"website": "https://www.kingdee.com/products/galaxy.html",
"video": null,
"videos": 65,
"app_version": "1.0.0",
"key_words": null,
"qr_code": null,
"qr": null,
"sharelink": null,
"seo": null,
"icon": {
"id": 5957,
"name": "_373fd26afc.svg",
"alternativeText": "",
"caption": "",
"width": 50,
"height": 50,
"formats": null,
"hash": "373fd26afc_d6c7b5ea7d",
"ext": ".svg",
"mime": "image/svg+xml",
"size": 1.28,
"url": "/uploads/373fd26afc_d6c7b5ea7d.svg",
"previewUrl": null,
"provider": "local",
"provider_metadata": null,
"created_at": "2022-09-01T07:50:58.000Z",
"updated_at": "2022-09-01T07:50:58.000Z"
}
},
{
"id": 201,
"name": "钉钉(第三方应用)",
"description": "<p>钉钉,阿里巴巴出品,专为全球企业组织打造的智能移动办公平台,含PC版,Ipad和手机版。远程视频会议,消息已读未读,DING消息任务管理,让沟通更高效;移动办公考勤,签到,审批,企业邮箱,免费企业OA,企业通讯录,钉钉教育解决方案,让工作学习更简单!</p>",
"popular": 201,
"published_at": "2022-02-18T06:10:56.000Z",
"created_at": "2022-02-18T06:10:54.000Z",
"updated_at": "2022-07-01T02:25:22.000Z",
"app_id": "204",
"category": "Teamwork",
"locale": "zh-Hans",
"short_description": "阿里OA协同办公",
"available": true,
"appid": null,
"website": "https://www.dingtalk.com",
"video": null,
"videos": 13,
"app_version": "1.0.0",
"key_words": null,
"qr_code": null,
"qr": null,
"sharelink": null,
"seo": null,
"icon": {
"id": 2146,
"name": "Dingding_c2e2a537de.svg",
"alternativeText": "",
"caption": "",
"width": 50,
"height": 50,
"formats": null,
"hash": "Dingding_c2e2a537de_d62c18fb9b",
"ext": ".svg",
"mime": "image/svg+xml",
"size": 9.4,
"url": "/uploads/Dingding_c2e2a537de_d62c18fb9b.svg",
"previewUrl": null,
"provider": "local",
"provider_metadata": null,
"created_at": "2022-02-18T06:25:05.000Z",
"updated_at": "2022-02-18T06:25:06.000Z"
}
},
{
"id": 25,
"name": "钉钉(自建应用)",
"description": "<p>钉钉,阿里巴巴出品,专为全球企业组织打造的智能移动办公平台,含PC版,Ipad和手机版。远程视频会议,消息已读未读,DING消息任务管理,让沟通更高效;移动办公考勤,签到,审批,企业邮箱,免费企业OA,企业通讯录,钉钉教育解决方案,让工作学习更简单!</p>",
"popular": 216,
"published_at": "2021-10-25T03:01:37.000Z",
"created_at": "2021-10-25T03:01:35.000Z",
"updated_at": "2023-11-09T07:07:58.000Z",
"app_id": "69",
"category": "Teamwork",
"locale": "zh-Hans",
"short_description": "阿里协同OA系统",
"available": true,
"appid": null,
"website": "https://www.dingtalk.com",
"video": null,
"videos": 109,
"app_version": "1.0.0",
"key_words": null,
"qr_code": null,
"qr": null,
"sharelink": null,
"seo": null,
"icon": {
"id": 1811,
"name": "Dingding.svg",
"alternativeText": "",
"caption": "",
"width": 50,
"height": 50,
"formats": null,
"hash": "Dingding_ac75c3cf81",
"ext": ".svg",
"mime": "image/svg+xml",
"size": 9.4,
"url": "/uploads/Dingding_ac75c3cf81.svg",
"previewUrl": null,
"provider": "local",
"provider_metadata": null,
"created_at": "2022-01-26T02:46:50.000Z",
"updated_at": "2022-01-26T02:46:50.000Z"
}
},
{
"id": 915,
"name": "钉钉待办任务",
"description": "<p>钉钉【待办】是用户处理各种待办事项的中心,用有序高效的方式,掌管工作学习大小事。今日事,今日毕。</p>",
"popular": 147,
"published_at": "2022-11-18T01:36:36.000Z",
"created_at": "2022-11-17T02:42:24.000Z",
"updated_at": "2022-11-18T01:36:36.000Z",
"app_id": "387",
"category": "Dingding",
"locale": "zh-Hans",
"short_description": "处理待办事项中心",
"available": true,
"appid": null,
"website": "https://page.dingtalk.com/wow/z/dingtalk/act/todo?spm=a213l2.26021147.9451075229.31.3fd046afc0okqW&wh_biz=tm",
"video": null,
"videos": null,
"app_version": "1.0.0",
"key_words": null,
"qr_code": null,
"qr": null,
"sharelink": null,
"seo": null,
"icon": {
"id": 7252,
"name": "daiban.svg",
"alternativeText": "",
"caption": "",
"width": 50,
"height": 50,
"formats": null,
"hash": "daiban_21628cc38e",
"ext": ".svg",
"mime": "image/svg+xml",
"size": 1.31,
"url": "/uploads/daiban_21628cc38e.svg",
"previewUrl": null,
"provider": "local",
"provider_metadata": null,
"created_at": "2022-11-17T05:51:35.000Z",
"updated_at": "2022-11-17T05:51:35.000Z"
}
},
{
"id": 943,
"name": "钉钉工作通知",
"description": "<p>工作通知消息是以某个应用的名义推送到员工的工作通知消息,例如生日祝福、入职提醒等。可以发送文本、语音、链接等,消息类型和样例可参考消息类型与数据格式。</p>",
"popular": 147,
"published_at": "2022-11-25T08:26:20.000Z",
"created_at": "2022-11-24T07:45:09.000Z",
"updated_at": "2022-11-25T08:26:20.000Z",
"app_id": "402",
"category": "Dingding",
"locale": "zh-Hans",
"short_description": "发送消息通知平台",
"available": true,
"appid": null,
"website": "https://www.dingtalk.com/",
"video": null,
"videos": null,
"app_version": "1.0.0",
"key_words": null,
"qr_code": null,
"qr": null,
"sharelink": null,
"seo": null,
"icon": {
"id": 7840,
"name": "Dingding-gongzuotongzhi.svg",
"alternativeText": "",
"caption": "",
"width": 50,
"height": 50,
"formats": null,
"hash": "Dingding_gongzuotongzhi_be8ec7d0c6",
"ext": ".svg",
"mime": "image/svg+xml",
"size": 1.5,
"url": "/uploads/Dingding_gongzuotongzhi_be8ec7d0c6.svg",
"previewUrl": null,
"provider": "local",
"provider_metadata": null,
"created_at": "2022-11-24T08:02:22.000Z",
"updated_at": "2022-11-24T08:02:22.000Z"
}
}
]
[
{
"id": 2,
"name": "消息通知",
"locale": "zh-Hans",
"published_at": "2022-05-30T07:29:40.000Z",
"created_at": "2022-05-20T08:12:03.000Z",
"updated_at": "2022-05-30T07:29:40.000Z",
"sort": 5
},
{
"id": 5,
"name": "办公协同",
"locale": "zh-Hans",
"published_at": "2022-05-30T07:29:32.000Z",
"created_at": "2022-05-20T08:12:53.000Z",
"updated_at": "2022-05-30T07:29:32.000Z",
"sort": 8
}
]
[
{
"id": 1342,
"key": null,
"published_at": "2022-03-31T11:00:09.000Z",
"created_at": "2022-03-31T11:00:09.000Z",
"updated_at": "2023-11-06T07:45:37.000Z",
"action_id": "1586",
"action_name": "搜索用户UserId",
"error": null,
"description": "根据用户名称搜索用户userId",
"action_type": "action",
"app": null,
"template": null,
"action_key": "1586"
},
{
"id": 2001,
"key": null,
"published_at": "2022-06-02T11:30:22.000Z",
"created_at": "2022-06-02T11:30:22.000Z",
"updated_at": "2023-11-06T07:38:20.000Z",
"action_id": "1953",
"action_name": "查询用户详情",
"error": null,
"description": "使用用户id查询用户的详细信息",
"action_type": "action",
"app": null,
"template": null,
"action_key": "1953"
},
{
"id": 2725,
"key": null,
"published_at": "2022-07-25T08:33:22.000Z",
"created_at": "2022-07-25T08:33:22.000Z",
"updated_at": "2023-11-06T07:46:48.000Z",
"action_id": "2487",
"action_name": "当有单据信息发生变化时(自定义查询)",
"error": null,
"description": "当单据中的数据发生变化时触发此动作",
"action_type": "trigger",
"app": null,
"template": null,
"action_key": "2487"
},
{
"id": 3022,
"key": null,
"published_at": "2022-08-18T11:30:29.000Z",
"created_at": "2022-08-18T11:30:29.000Z",
"updated_at": "2023-11-06T07:46:51.000Z",
"action_id": "2690",
"action_name": "查询单据列表",
"error": null,
"description": "查询单据列表",
"action_type": "action",
"app": null,
"template": null,
"action_key": "2690"
},
{
"id": 4067,
"key": null,
"published_at": "2022-11-18T01:43:00.000Z",
"created_at": "2022-11-18T01:43:01.000Z",
"updated_at": "2023-11-06T07:48:46.000Z",
"action_id": "3077",
"action_name": "创建钉钉待办任务",
"error": null,
"description": "发起一个钉钉待办任务",
"action_type": "action",
"app": null,
"template": null,
"action_key": "3077"
},
{
"id": 4227,
"key": null,
"published_at": "2022-11-25T08:32:04.000Z",
"created_at": "2022-11-25T08:32:04.000Z",
"updated_at": "2023-11-06T07:48:54.000Z",
"action_id": "3161",
"action_name": "发送文本消息工作通知",
"error": null,
"description": "给指定员工或部门发送消息文本格式的工作通知",
"action_type": "action",
"app": null,
"template": null,
"action_key": "3161"
}
]
[]
[]
100+
100+
42
72
73
Msg
2081
金蝶云星空有新的单据生成时,自动创建钉钉待办任务并发送钉钉工作通知
<p>每当金蝶云星空有指定类型的单据生成时,通过集简云流程自动获取该单据内的字段数据,并在钉钉创建待办任务,同时给企业内指定人员或部门发送钉钉工作通知</p>
zh-Hans
2023-01-02T07:19:57.000Z
2023-01-02T07:19:57.000Z
2023-11-12T01:50:37.000Z
1
el4061lf
每当金蝶云星空有指定类型的单据生成时,通过集简云流程自动获取该单据内的字段数据,并在钉钉创建待办任务,同时给企业内指定人员或部门发送钉钉工作通知
anyone
Z6gBm8wTuuTx
official
pc1265
passed
孙浩
fi4139zv
孙浩
[
{
"desc": "当单据中的数据发生变化时触发此动作",
"app_id": 267,
"action_id": 2487,
"action_type": "1",
"sort": "1",
"note": null
},
{
"desc": "查询单据列表",
"app_id": 267,
"action_id": 2690,
"action_type": "2",
"sort": "2",
"note": null
},
{
"desc": "通过用户的姓名获取指定用户userid(支持用户名、英文名或名称全拼)",
"app_id": 204,
"action_id": 1586,
"action_type": "2",
"sort": "3",
"note": null
},
{
"desc": "使用钉钉自建应用根据用户id查询用户的详细信息",
"app_id": 69,
"action_id": 1953,
"action_type": "2",
"sort": "4",
"note": null
},
{
"desc": "发起一个钉钉待办任务",
"app_id": 387,
"action_id": 3077,
"action_type": "2",
"sort": "5",
"note": null
},
{
"desc": "给指定员工或部门发送消息文本格式的工作通知",
"app_id": 402,
"action_id": 3161,
"action_type": "2",
"sort": "6",
"note": null
}
]
42
{
"id": 189,
"name": "金蝶云星空有新的单据生成时,自动创建钉钉待办任务并发送钉钉工作通知",
"url": "https://download.jijyun.cn/templates/2081%E2%88%9A.mp4",
"type": "templates",
"published_at": "2023-03-30T07:40:57.000Z",
"created_at": "2023-03-30T07:35:37.000Z",
"updated_at": "2023-11-09T07:03:11.000Z",
"app": null,
"template": 2081,
"sort": 99,
"Copy": null,
"help_collection": null,
"video_class": null,
"video_collection": null,
"time_length": null,
"description": null,
"recommend": null,
"cover": {
"id": 10311,
"name": "横.png",
"alternativeText": "",
"caption": "",
"width": 1920,
"height": 1080,
"formats": {
"thumbnail": {
"name": "thumbnail_横.png",
"hash": "thumbnail__d9bed6675b",
"ext": ".png",
"mime": "image/png",
"width": 245,
"height": 138,
"size": 18.05,
"path": null,
"url": "/uploads/thumbnail__d9bed6675b.png"
},
"large": {
"name": "large_横.png",
"hash": "large__d9bed6675b",
"ext": ".png",
"mime": "image/png",
"width": 1000,
"height": 563,
"size": 94.25,
"path": null,
"url": "/uploads/large__d9bed6675b.png"
},
"medium": {
"name": "medium_横.png",
"hash": "medium__d9bed6675b",
"ext": ".png",
"mime": "image/png",
"width": 750,
"height": 422,
"size": 67.95,
"path": null,
"url": "/uploads/medium__d9bed6675b.png"
},
"small": {
"name": "small_横.png",
"hash": "small__d9bed6675b",
"ext": ".png",
"mime": "image/png",
"width": 500,
"height": 281,
"size": 42.35,
"path": null,
"url": "/uploads/small__d9bed6675b.png"
}
},
"hash": "_d9bed6675b",
"ext": ".png",
"mime": "image/png",
"size": 63.36,
"url": "/uploads/_d9bed6675b.png",
"previewUrl": null,
"provider": "local",
"provider_metadata": null,
"created_at": "2023-03-30T07:35:11.000Z",
"updated_at": "2023-03-30T07:35:11.000Z"
}
}
false
4
{
"1": [
{
"key": "FormId",
"label": "请选择您要监测的单据类型",
"required": true,
"type": "string",
"help_txt": "请选择您要监测的单据类型",
"dropdown": true,
"choices": [
{
"key": "AP_PAYBILL",
"label": "付款单"
},
{
"key": "AR_receivable",
"label": "应收单"
},
{
"key": "AP_OtherPayable",
"label": "其他应付单"
},
{
"key": "AR_OtherRecAble",
"label": "其他应收单"
},
{
"key": "BD_Customer",
"label": "客户"
},
{
"key": "SAL_SaleOrder",
"label": "销售订单"
},
{
"key": "SAL_OUTSTOCK",
"label": "销售出库单"
},
{
"key": "CRM_Contract",
"label": "销售合同"
},
{
"key": "PUR_Requisition",
"label": "采购申请"
},
{
"key": "CN_PAYAPPLY",
"label": "付款申请"
},
{
"key": "IV_PURCHASEOC",
"label": "采购普通发票"
},
{
"key": "IV_PURCHASEIC",
"label": "采购增值税专用发票"
},
{
"key": "IV_SALESIC",
"label": "销售增值税专用发票"
},
{
"key": "IV_SALESOC",
"label": "销售普通发票"
},
{
"key": "STK_MisDelivery",
"label": "其他出库单"
},
{
"key": "SAL_QUOTATION",
"label": "销售报价单"
},
{
"key": "SAL_DELIVERYNOTICE",
"label": "发货通知单"
},
{
"key": "SAL_RETURNNOTICE",
"label": "退货通知单"
},
{
"key": "QM_InspectBill",
"label": "检验单"
}
]
},
{
"key": "FieldKeys",
"label": "结果中展示的字段",
"type": "string",
"multiples": true,
"required": true,
"help_txt": "本动作触发后,需要输出的字段信息,例如:表单编码,创建时间等"
},
{
"key": "FilterString",
"label": "筛选条件",
"type": "string",
"required": false,
"help_txt": "通过过滤条件筛选出您需要的单据,格式为:FBillNO='QTYSD00000003' 多个条件请使用 and 进行连接,如:FBillNO='QTYSD00000003' and FDATE='2022-07-20'。本动作将按照您配置的过滤条件获取单据,例如,获取当天的字段为某个状态的所有单据"
},
{
"key": "unique_field",
"label": "唯一字段",
"type": "string",
"required": false,
"help_txt": "用于对两次不同时间抓取的单据做对比去重处理,分辨出新的数据。单据中字段没有特殊变化的情况下无需修改",
"defaulttext": "FBILLNO"
}
],
"2": [
{
"key": "FormId",
"label": "业务对象表单Id",
"required": true,
"type": "string",
"dropdown": true,
"choices": [
{
"key": "ER_ExpenseRequest",
"label": "费用申请单"
},
{
"key": "SAL_SaleOrder",
"label": "销售订单"
},
{
"key": "AP_PAYBILL",
"label": "付款单"
},
{
"key": "AR_receivable",
"label": "应收单"
},
{
"key": "AP_OtherPayable",
"label": "其他应付单"
},
{
"key": "AR_OtherRecAble",
"label": "其他应收单"
},
{
"key": "CRM_Contract",
"label": "销售合同"
},
{
"key": "AR_receivable",
"label": "应收单"
}
]
},
{
"key": "FieldKeys",
"label": "需查询的字段",
"multiples": true,
"help_txt": "默认返回【FDate(日期),FID(单据id),FBillTypeID(单据类型),FCreatorId(创建人)】其他字段可以参考<a href=\"https://openapi.open.kingdee.com/ApiCenterDoc?operateId=588947657558853633\">金蝶云星空开放平台</a>"
},
{
"key": "FilterString",
"label": "过滤条件",
"multiples": false,
"type": "string",
"required": false,
"help_txt": "通过过滤条件筛选出您需要的单据,格式为:FBillNO='QTYSD00000003' 多个条件请使用 and 进行连接,如:FBillNO='QTYSD00000003' and FDATE='2022-07-20'。本动作将按照您配置的过滤条件获取单据,例如,获取当天的字段为某个状态的所有单据"
},
{
"key": "FNumber",
"label": "单据编码",
"help_txt": "请输入单据编码,注意:过滤条件、单据编码、单据ID三选一填写",
"required": false,
"type": "string"
},
{
"key": "FID",
"label": "单据ID",
"help_txt": "请输入单据FID,注意:过滤条件、单据编码、单据ID三选一填写",
"required": false,
"type": "string"
},
{
"key": "TopRowCount",
"label": "返回总行数",
"required": false,
"help_txt": "分页大小",
"type": "number"
},
{
"key": "StartRow",
"label": "开始行索引",
"required": false,
"help_txt": "起始页码",
"type": "number"
},
{
"key": "Limit",
"label": "最大行数",
"required": false,
"help_txt": "不能超过10000",
"type": "number"
},
{
"key": "self_filter",
"label": "自定义筛选",
"required": false,
"help_txt": "格式:字段名=值;例如输入FName=123将筛选出FName字段值为123的数据",
"type": "string"
}
],
"3": [
{
"key": "queryWord",
"label": "用户名称",
"type": "string",
"required": true,
"help_txt": "支持用户名、英文名或名称全拼进行查询;注意重名用户区分"
},
{
"key": "offset",
"label": "分页查询起点",
"type": "number",
"required": true,
"help_txt": "示例:0"
},
{
"key": "size",
"label": "分页大小",
"type": "number",
"required": true,
"help_txt": "示例:10"
}
],
"4": [
{
"key": "userid",
"label": "用户的userId",
"type": "string",
"required": true,
"help_txt": "示例:manager4220,可通过[查询员工ID]动作获取到用户的id"
},
{
"key": "language",
"label": "通讯录语言",
"type": "string",
"dropdown": true,
"choices": [
{
"key": "zh_CN",
"label": "中文"
},
{
"key": "en_US",
"label": "英文"
}
],
"help_txt": "默认值为中文"
}
],
"5": [
{
"key": "sourceId",
"label": "业务ID",
"type": "string",
"help_txt": "当ISV接入钉钉待办后,传递ISV应用业务系统侧的唯一标识任务ID。当待办创建成功后,需要更换新的sourceId,保持一个待办任务对应一个sourceId。创建钉钉官方待办时,该字段无需传入。"
},
{
"key": "subject",
"label": "待办标题",
"required": true,
"type": "string",
"help_txt": "最大长度为1024"
},
{
"key": "description",
"label": "待办备注描述",
"type": "string",
"help_txt": "最大长度为4096"
},
{
"key": "creatorId",
"label": "创建者的unionId",
"type": "string",
"required": true,
"help_txt": "\n 请输入用户的Unionid;您可以通过【钉钉通讯录】应用中的查询用户详情动作获取\n "
},
{
"key": "operatorId",
"label": "操作者unionId",
"type": "string",
"required": false,
"help_txt": "\n 请输入操作者的Unionid;您可以通过【钉钉通讯录】应用中的查询用户详情动作获取\n "
},
{
"key": "dueTime",
"label": "截止时间",
"type": "number",
"help_txt": "Unix时间戳,单位毫秒,可使用“内置应用-日期时间格式变更”进行日期时间转换"
},
{
"key": "executorIds",
"label": "执行者的unionId",
"type": "string",
"help_txt": "\n 请输入执行者的Unionid数组;您可以通过【钉钉通讯录】应用中的查询用户详情动作获取,示例:[\"xxxx\", \"yyyy\"]\n "
},
{
"key": "participantIds",
"label": "参与者的unionId",
"type": "string",
"help_txt": "\n 请输入参与者的Unionid数组;您可以通过【钉钉通讯录】应用中的查询用户详情动作获取,示例:[\"xxxx\", \"yyyy\"]\n "
},
{
"key": "detailUrl",
"label": "详情页url跳转地址",
"type": "obj",
"items": [
{
"key": "appUrl",
"label": "APP端详情页url跳转地址",
"type": "string",
"help_txt": "创建钉钉官方待办时,该字段无需传入;创建第三方待办时,需传入自身应用详情页链接"
},
{
"key": "pcUrl",
"label": "PC端详情页url跳转地址",
"type": "string",
"help_txt": "创建钉钉官方待办时,该字段无需传入;创建第三方待办时,需传入自身应用详情页链接"
}
]
},
{
"key": "isOnlyShowExecutor",
"label": "生成的待办是否仅展示在执行者的待办列表中",
"type": "boolean"
},
{
"key": "priority",
"label": "优先级",
"type": "string",
"dropdown": true,
"choices": [
{
"key": "10",
"label": "较低"
},
{
"key": "20",
"label": "普通"
},
{
"key": "30",
"label": "紧急"
},
{
"key": "40",
"label": "非常紧急"
}
]
}
],
"6": [
{
"key": "userid_list",
"label": "接收者的userid",
"dropdownTree": true,
"multiplesTree": true,
"queryParams": [
{
"label": "父节点id",
"key": "node_id",
"is_key": true,
"defaulttext": 1
},
{
"label": "标识",
"key": "flag",
"defaulttext": 1
}
],
"url": "/v1/api/application/dingdingself/dropdowntreeserver/get_dept_users",
"choices": [],
"help_txt": "请选择接收者;最大用户列表长度100"
},
{
"key": "dept_id_list",
"label": "接收者的部门id",
"dropdownTree": true,
"multiplesTree": true,
"queryParams": [
{
"label": "父节点id",
"key": "node_id",
"is_key": true,
"defaulttext": 1
},
{
"label": "标识",
"key": "flag",
"defaulttext": 1
}
],
"url": "/v1/api/application/dingdingself/dropdowntree/get_depts",
"choices": [],
"help_txt": "请选择接收部门;包括子部门下的所有用户;最多支持20个部门"
},
{
"key": "to_all_user",
"label": "是否发送给企业全部用户",
"type": "boolean",
"help_txt": "当值为否时,接受者和部门二选一必填, 默认为否"
},
{
"key": "content",
"label": "消息内容",
"help_txt": "建议500字符以内",
"required": true
}
]
}
true
[]
[]
[
{
"id": 305,
"name": "金蝶云星空",
"description": "<p>金蝶云·星空聚焦多组织,多利润中心的大中型企业,以 “开放、标准、社交”三大特性为数字经济时代的企业提供开放的 ERP 云平台。服务涵盖:财务、供应链、智能制造、阿米巴管理、全渠道营销、电商、HR、企业互联网服务。</p>",
"popular": 177,
"published_at": "2022-04-29T10:08:21.000Z",
"created_at": "2022-04-29T10:08:21.000Z",
"updated_at": "2022-10-21T12:22:30.000Z",
"app_id": "267",
"category": "ERP",
"locale": "zh-Hans",
"short_description": "ERP系统",
"available": true,
"appid": null,
"website": "https://www.kingdee.com/products/galaxy.html",
"video": null,
"videos": 65,
"app_version": "1.0.0",
"key_words": null,
"qr_code": null,
"qr": null,
"sharelink": null,
"seo": null,
"icon": {
"id": 5957,
"name": "_373fd26afc.svg",
"alternativeText": "",
"caption": "",
"width": 50,
"height": 50,
"formats": null,
"hash": "373fd26afc_d6c7b5ea7d",
"ext": ".svg",
"mime": "image/svg+xml",
"size": 1.28,
"url": "/uploads/373fd26afc_d6c7b5ea7d.svg",
"previewUrl": null,
"provider": "local",
"provider_metadata": null,
"created_at": "2022-09-01T07:50:58.000Z",
"updated_at": "2022-09-01T07:50:58.000Z"
}
},
{
"id": 201,
"name": "钉钉(第三方应用)",
"description": "<p>钉钉,阿里巴巴出品,专为全球企业组织打造的智能移动办公平台,含PC版,Ipad和手机版。远程视频会议,消息已读未读,DING消息任务管理,让沟通更高效;移动办公考勤,签到,审批,企业邮箱,免费企业OA,企业通讯录,钉钉教育解决方案,让工作学习更简单!</p>",
"popular": 201,
"published_at": "2022-02-18T06:10:56.000Z",
"created_at": "2022-02-18T06:10:54.000Z",
"updated_at": "2022-07-01T02:25:22.000Z",
"app_id": "204",
"category": "Teamwork",
"locale": "zh-Hans",
"short_description": "阿里OA协同办公",
"available": true,
"appid": null,
"website": "https://www.dingtalk.com",
"video": null,
"videos": 13,
"app_version": "1.0.0",
"key_words": null,
"qr_code": null,
"qr": null,
"sharelink": null,
"seo": null,
"icon": {
"id": 2146,
"name": "Dingding_c2e2a537de.svg",
"alternativeText": "",
"caption": "",
"width": 50,
"height": 50,
"formats": null,
"hash": "Dingding_c2e2a537de_d62c18fb9b",
"ext": ".svg",
"mime": "image/svg+xml",
"size": 9.4,
"url": "/uploads/Dingding_c2e2a537de_d62c18fb9b.svg",
"previewUrl": null,
"provider": "local",
"provider_metadata": null,
"created_at": "2022-02-18T06:25:05.000Z",
"updated_at": "2022-02-18T06:25:06.000Z"
}
},
{
"id": 25,
"name": "钉钉(自建应用)",
"description": "<p>钉钉,阿里巴巴出品,专为全球企业组织打造的智能移动办公平台,含PC版,Ipad和手机版。远程视频会议,消息已读未读,DING消息任务管理,让沟通更高效;移动办公考勤,签到,审批,企业邮箱,免费企业OA,企业通讯录,钉钉教育解决方案,让工作学习更简单!</p>",
"popular": 216,
"published_at": "2021-10-25T03:01:37.000Z",
"created_at": "2021-10-25T03:01:35.000Z",
"updated_at": "2023-11-09T07:07:58.000Z",
"app_id": "69",
"category": "Teamwork",
"locale": "zh-Hans",
"short_description": "阿里协同OA系统",
"available": true,
"appid": null,
"website": "https://www.dingtalk.com",
"video": null,
"videos": 109,
"app_version": "1.0.0",
"key_words": null,
"qr_code": null,
"qr": null,
"sharelink": null,
"seo": null,
"icon": {
"id": 1811,
"name": "Dingding.svg",
"alternativeText": "",
"caption": "",
"width": 50,
"height": 50,
"formats": null,
"hash": "Dingding_ac75c3cf81",
"ext": ".svg",
"mime": "image/svg+xml",
"size": 9.4,
"url": "/uploads/Dingding_ac75c3cf81.svg",
"previewUrl": null,
"provider": "local",
"provider_metadata": null,
"created_at": "2022-01-26T02:46:50.000Z",
"updated_at": "2022-01-26T02:46:50.000Z"
}
},
{
"id": 915,
"name": "钉钉待办任务",
"description": "<p>钉钉【待办】是用户处理各种待办事项的中心,用有序高效的方式,掌管工作学习大小事。今日事,今日毕。</p>",
"popular": 147,
"published_at": "2022-11-18T01:36:36.000Z",
"created_at": "2022-11-17T02:42:24.000Z",
"updated_at": "2022-11-18T01:36:36.000Z",
"app_id": "387",
"category": "Dingding",
"locale": "zh-Hans",
"short_description": "处理待办事项中心",
"available": true,
"appid": null,
"website": "https://page.dingtalk.com/wow/z/dingtalk/act/todo?spm=a213l2.26021147.9451075229.31.3fd046afc0okqW&wh_biz=tm",
"video": null,
"videos": null,
"app_version": "1.0.0",
"key_words": null,
"qr_code": null,
"qr": null,
"sharelink": null,
"seo": null,
"icon": {
"id": 7252,
"name": "daiban.svg",
"alternativeText": "",
"caption": "",
"width": 50,
"height": 50,
"formats": null,
"hash": "daiban_21628cc38e",
"ext": ".svg",
"mime": "image/svg+xml",
"size": 1.31,
"url": "/uploads/daiban_21628cc38e.svg",
"previewUrl": null,
"provider": "local",
"provider_metadata": null,
"created_at": "2022-11-17T05:51:35.000Z",
"updated_at": "2022-11-17T05:51:35.000Z"
}
},
{
"id": 943,
"name": "钉钉工作通知",
"description": "<p>工作通知消息是以某个应用的名义推送到员工的工作通知消息,例如生日祝福、入职提醒等。可以发送文本、语音、链接等,消息类型和样例可参考消息类型与数据格式。</p>",
"popular": 147,
"published_at": "2022-11-25T08:26:20.000Z",
"created_at": "2022-11-24T07:45:09.000Z",
"updated_at": "2022-11-25T08:26:20.000Z",
"app_id": "402",
"category": "Dingding",
"locale": "zh-Hans",
"short_description": "发送消息通知平台",
"available": true,
"appid": null,
"website": "https://www.dingtalk.com/",
"video": null,
"videos": null,
"app_version": "1.0.0",
"key_words": null,
"qr_code": null,
"qr": null,
"sharelink": null,
"seo": null,
"icon": {
"id": 7840,
"name": "Dingding-gongzuotongzhi.svg",
"alternativeText": "",
"caption": "",
"width": 50,
"height": 50,
"formats": null,
"hash": "Dingding_gongzuotongzhi_be8ec7d0c6",
"ext": ".svg",
"mime": "image/svg+xml",
"size": 1.5,
"url": "/uploads/Dingding_gongzuotongzhi_be8ec7d0c6.svg",
"previewUrl": null,
"provider": "local",
"provider_metadata": null,
"created_at": "2022-11-24T08:02:22.000Z",
"updated_at": "2022-11-24T08:02:22.000Z"
}
}
]
[
{
"id": 2,
"name": "消息通知",
"locale": "zh-Hans",
"published_at": "2022-05-30T07:29:40.000Z",
"created_at": "2022-05-20T08:12:03.000Z",
"updated_at": "2022-05-30T07:29:40.000Z",
"sort": 5
},
{
"id": 5,
"name": "办公协同",
"locale": "zh-Hans",
"published_at": "2022-05-30T07:29:32.000Z",
"created_at": "2022-05-20T08:12:53.000Z",
"updated_at": "2022-05-30T07:29:32.000Z",
"sort": 8
}
]
[
{
"id": 1342,
"key": null,
"published_at": "2022-03-31T11:00:09.000Z",
"created_at": "2022-03-31T11:00:09.000Z",
"updated_at": "2023-11-06T07:45:37.000Z",
"action_id": "1586",
"action_name": "搜索用户UserId",
"error": null,
"description": "根据用户名称搜索用户userId",
"action_type": "action",
"app": null,
"template": null,
"action_key": "1586"
},
{
"id": 2001,
"key": null,
"published_at": "2022-06-02T11:30:22.000Z",
"created_at": "2022-06-02T11:30:22.000Z",
"updated_at": "2023-11-06T07:38:20.000Z",
"action_id": "1953",
"action_name": "查询用户详情",
"error": null,
"description": "使用用户id查询用户的详细信息",
"action_type": "action",
"app": null,
"template": null,
"action_key": "1953"
},
{
"id": 2725,
"key": null,
"published_at": "2022-07-25T08:33:22.000Z",
"created_at": "2022-07-25T08:33:22.000Z",
"updated_at": "2023-11-06T07:46:48.000Z",
"action_id": "2487",
"action_name": "当有单据信息发生变化时(自定义查询)",
"error": null,
"description": "当单据中的数据发生变化时触发此动作",
"action_type": "trigger",
"app": null,
"template": null,
"action_key": "2487"
},
{
"id": 3022,
"key": null,
"published_at": "2022-08-18T11:30:29.000Z",
"created_at": "2022-08-18T11:30:29.000Z",
"updated_at": "2023-11-06T07:46:51.000Z",
"action_id": "2690",
"action_name": "查询单据列表",
"error": null,
"description": "查询单据列表",
"action_type": "action",
"app": null,
"template": null,
"action_key": "2690"
},
{
"id": 4067,
"key": null,
"published_at": "2022-11-18T01:43:00.000Z",
"created_at": "2022-11-18T01:43:01.000Z",
"updated_at": "2023-11-06T07:48:46.000Z",
"action_id": "3077",
"action_name": "创建钉钉待办任务",
"error": null,
"description": "发起一个钉钉待办任务",
"action_type": "action",
"app": null,
"template": null,
"action_key": "3077"
},
{
"id": 4227,
"key": null,
"published_at": "2022-11-25T08:32:04.000Z",
"created_at": "2022-11-25T08:32:04.000Z",
"updated_at": "2023-11-06T07:48:54.000Z",
"action_id": "3161",
"action_name": "发送文本消息工作通知",
"error": null,
"description": "给指定员工或部门发送消息文本格式的工作通知",
"action_type": "action",
"app": null,
"template": null,
"action_key": "3161"
}
]
[]
[]
100+
100+
42
72
73
Data
2081
金蝶云星空有新的单据生成时,自动创建钉钉待办任务并发送钉钉工作通知
<p>每当金蝶云星空有指定类型的单据生成时,通过集简云流程自动获取该单据内的字段数据,并在钉钉创建待办任务,同时给企业内指定人员或部门发送钉钉工作通知</p>
zh-Hans
2023-01-02T07:19:57.000Z
2023-01-02T07:19:57.000Z
2023-11-12T01:50:37.000Z
1
el4061lf
每当金蝶云星空有指定类型的单据生成时,通过集简云流程自动获取该单据内的字段数据,并在钉钉创建待办任务,同时给企业内指定人员或部门发送钉钉工作通知
anyone
Z6gBm8wTuuTx
official
pc1265
passed
孙浩
fi4139zv
孙浩
[
{
"desc": "当单据中的数据发生变化时触发此动作",
"app_id": 267,
"action_id": 2487,
"action_type": "1",
"sort": "1",
"note": null
},
{
"desc": "查询单据列表",
"app_id": 267,
"action_id": 2690,
"action_type": "2",
"sort": "2",
"note": null
},
{
"desc": "通过用户的姓名获取指定用户userid(支持用户名、英文名或名称全拼)",
"app_id": 204,
"action_id": 1586,
"action_type": "2",
"sort": "3",
"note": null
},
{
"desc": "使用钉钉自建应用根据用户id查询用户的详细信息",
"app_id": 69,
"action_id": 1953,
"action_type": "2",
"sort": "4",
"note": null
},
{
"desc": "发起一个钉钉待办任务",
"app_id": 387,
"action_id": 3077,
"action_type": "2",
"sort": "5",
"note": null
},
{
"desc": "给指定员工或部门发送消息文本格式的工作通知",
"app_id": 402,
"action_id": 3161,
"action_type": "2",
"sort": "6",
"note": null
}
]
42
{
"id": 189,
"name": "金蝶云星空有新的单据生成时,自动创建钉钉待办任务并发送钉钉工作通知",
"url": "https://download.jijyun.cn/templates/2081%E2%88%9A.mp4",
"type": "templates",
"published_at": "2023-03-30T07:40:57.000Z",
"created_at": "2023-03-30T07:35:37.000Z",
"updated_at": "2023-11-09T07:03:11.000Z",
"app": null,
"template": 2081,
"sort": 99,
"Copy": null,
"help_collection": null,
"video_class": null,
"video_collection": null,
"time_length": null,
"description": null,
"recommend": null,
"cover": {
"id": 10311,
"name": "横.png",
"alternativeText": "",
"caption": "",
"width": 1920,
"height": 1080,
"formats": {
"thumbnail": {
"name": "thumbnail_横.png",
"hash": "thumbnail__d9bed6675b",
"ext": ".png",
"mime": "image/png",
"width": 245,
"height": 138,
"size": 18.05,
"path": null,
"url": "/uploads/thumbnail__d9bed6675b.png"
},
"large": {
"name": "large_横.png",
"hash": "large__d9bed6675b",
"ext": ".png",
"mime": "image/png",
"width": 1000,
"height": 563,
"size": 94.25,
"path": null,
"url": "/uploads/large__d9bed6675b.png"
},
"medium": {
"name": "medium_横.png",
"hash": "medium__d9bed6675b",
"ext": ".png",
"mime": "image/png",
"width": 750,
"height": 422,
"size": 67.95,
"path": null,
"url": "/uploads/medium__d9bed6675b.png"
},
"small": {
"name": "small_横.png",
"hash": "small__d9bed6675b",
"ext": ".png",
"mime": "image/png",
"width": 500,
"height": 281,
"size": 42.35,
"path": null,
"url": "/uploads/small__d9bed6675b.png"
}
},
"hash": "_d9bed6675b",
"ext": ".png",
"mime": "image/png",
"size": 63.36,
"url": "/uploads/_d9bed6675b.png",
"previewUrl": null,
"provider": "local",
"provider_metadata": null,
"created_at": "2023-03-30T07:35:11.000Z",
"updated_at": "2023-03-30T07:35:11.000Z"
}
}
false
4
{
"1": [
{
"key": "FormId",
"label": "请选择您要监测的单据类型",
"required": true,
"type": "string",
"help_txt": "请选择您要监测的单据类型",
"dropdown": true,
"choices": [
{
"key": "AP_PAYBILL",
"label": "付款单"
},
{
"key": "AR_receivable",
"label": "应收单"
},
{
"key": "AP_OtherPayable",
"label": "其他应付单"
},
{
"key": "AR_OtherRecAble",
"label": "其他应收单"
},
{
"key": "BD_Customer",
"label": "客户"
},
{
"key": "SAL_SaleOrder",
"label": "销售订单"
},
{
"key": "SAL_OUTSTOCK",
"label": "销售出库单"
},
{
"key": "CRM_Contract",
"label": "销售合同"
},
{
"key": "PUR_Requisition",
"label": "采购申请"
},
{
"key": "CN_PAYAPPLY",
"label": "付款申请"
},
{
"key": "IV_PURCHASEOC",
"label": "采购普通发票"
},
{
"key": "IV_PURCHASEIC",
"label": "采购增值税专用发票"
},
{
"key": "IV_SALESIC",
"label": "销售增值税专用发票"
},
{
"key": "IV_SALESOC",
"label": "销售普通发票"
},
{
"key": "STK_MisDelivery",
"label": "其他出库单"
},
{
"key": "SAL_QUOTATION",
"label": "销售报价单"
},
{
"key": "SAL_DELIVERYNOTICE",
"label": "发货通知单"
},
{
"key": "SAL_RETURNNOTICE",
"label": "退货通知单"
},
{
"key": "QM_InspectBill",
"label": "检验单"
}
]
},
{
"key": "FieldKeys",
"label": "结果中展示的字段",
"type": "string",
"multiples": true,
"required": true,
"help_txt": "本动作触发后,需要输出的字段信息,例如:表单编码,创建时间等"
},
{
"key": "FilterString",
"label": "筛选条件",
"type": "string",
"required": false,
"help_txt": "通过过滤条件筛选出您需要的单据,格式为:FBillNO='QTYSD00000003' 多个条件请使用 and 进行连接,如:FBillNO='QTYSD00000003' and FDATE='2022-07-20'。本动作将按照您配置的过滤条件获取单据,例如,获取当天的字段为某个状态的所有单据"
},
{
"key": "unique_field",
"label": "唯一字段",
"type": "string",
"required": false,
"help_txt": "用于对两次不同时间抓取的单据做对比去重处理,分辨出新的数据。单据中字段没有特殊变化的情况下无需修改",
"defaulttext": "FBILLNO"
}
],
"2": [
{
"key": "FormId",
"label": "业务对象表单Id",
"required": true,
"type": "string",
"dropdown": true,
"choices": [
{
"key": "ER_ExpenseRequest",
"label": "费用申请单"
},
{
"key": "SAL_SaleOrder",
"label": "销售订单"
},
{
"key": "AP_PAYBILL",
"label": "付款单"
},
{
"key": "AR_receivable",
"label": "应收单"
},
{
"key": "AP_OtherPayable",
"label": "其他应付单"
},
{
"key": "AR_OtherRecAble",
"label": "其他应收单"
},
{
"key": "CRM_Contract",
"label": "销售合同"
},
{
"key": "AR_receivable",
"label": "应收单"
}
]
},
{
"key": "FieldKeys",
"label": "需查询的字段",
"multiples": true,
"help_txt": "默认返回【FDate(日期),FID(单据id),FBillTypeID(单据类型),FCreatorId(创建人)】其他字段可以参考<a href=\"https://openapi.open.kingdee.com/ApiCenterDoc?operateId=588947657558853633\">金蝶云星空开放平台</a>"
},
{
"key": "FilterString",
"label": "过滤条件",
"multiples": false,
"type": "string",
"required": false,
"help_txt": "通过过滤条件筛选出您需要的单据,格式为:FBillNO='QTYSD00000003' 多个条件请使用 and 进行连接,如:FBillNO='QTYSD00000003' and FDATE='2022-07-20'。本动作将按照您配置的过滤条件获取单据,例如,获取当天的字段为某个状态的所有单据"
},
{
"key": "FNumber",
"label": "单据编码",
"help_txt": "请输入单据编码,注意:过滤条件、单据编码、单据ID三选一填写",
"required": false,
"type": "string"
},
{
"key": "FID",
"label": "单据ID",
"help_txt": "请输入单据FID,注意:过滤条件、单据编码、单据ID三选一填写",
"required": false,
"type": "string"
},
{
"key": "TopRowCount",
"label": "返回总行数",
"required": false,
"help_txt": "分页大小",
"type": "number"
},
{
"key": "StartRow",
"label": "开始行索引",
"required": false,
"help_txt": "起始页码",
"type": "number"
},
{
"key": "Limit",
"label": "最大行数",
"required": false,
"help_txt": "不能超过10000",
"type": "number"
},
{
"key": "self_filter",
"label": "自定义筛选",
"required": false,
"help_txt": "格式:字段名=值;例如输入FName=123将筛选出FName字段值为123的数据",
"type": "string"
}
],
"3": [
{
"key": "queryWord",
"label": "用户名称",
"type": "string",
"required": true,
"help_txt": "支持用户名、英文名或名称全拼进行查询;注意重名用户区分"
},
{
"key": "offset",
"label": "分页查询起点",
"type": "number",
"required": true,
"help_txt": "示例:0"
},
{
"key": "size",
"label": "分页大小",
"type": "number",
"required": true,
"help_txt": "示例:10"
}
],
"4": [
{
"key": "userid",
"label": "用户的userId",
"type": "string",
"required": true,
"help_txt": "示例:manager4220,可通过[查询员工ID]动作获取到用户的id"
},
{
"key": "language",
"label": "通讯录语言",
"type": "string",
"dropdown": true,
"choices": [
{
"key": "zh_CN",
"label": "中文"
},
{
"key": "en_US",
"label": "英文"
}
],
"help_txt": "默认值为中文"
}
],
"5": [
{
"key": "sourceId",
"label": "业务ID",
"type": "string",
"help_txt": "当ISV接入钉钉待办后,传递ISV应用业务系统侧的唯一标识任务ID。当待办创建成功后,需要更换新的sourceId,保持一个待办任务对应一个sourceId。创建钉钉官方待办时,该字段无需传入。"
},
{
"key": "subject",
"label": "待办标题",
"required": true,
"type": "string",
"help_txt": "最大长度为1024"
},
{
"key": "description",
"label": "待办备注描述",
"type": "string",
"help_txt": "最大长度为4096"
},
{
"key": "creatorId",
"label": "创建者的unionId",
"type": "string",
"required": true,
"help_txt": "\n 请输入用户的Unionid;您可以通过【钉钉通讯录】应用中的查询用户详情动作获取\n "
},
{
"key": "operatorId",
"label": "操作者unionId",
"type": "string",
"required": false,
"help_txt": "\n 请输入操作者的Unionid;您可以通过【钉钉通讯录】应用中的查询用户详情动作获取\n "
},
{
"key": "dueTime",
"label": "截止时间",
"type": "number",
"help_txt": "Unix时间戳,单位毫秒,可使用“内置应用-日期时间格式变更”进行日期时间转换"
},
{
"key": "executorIds",
"label": "执行者的unionId",
"type": "string",
"help_txt": "\n 请输入执行者的Unionid数组;您可以通过【钉钉通讯录】应用中的查询用户详情动作获取,示例:[\"xxxx\", \"yyyy\"]\n "
},
{
"key": "participantIds",
"label": "参与者的unionId",
"type": "string",
"help_txt": "\n 请输入参与者的Unionid数组;您可以通过【钉钉通讯录】应用中的查询用户详情动作获取,示例:[\"xxxx\", \"yyyy\"]\n "
},
{
"key": "detailUrl",
"label": "详情页url跳转地址",
"type": "obj",
"items": [
{
"key": "appUrl",
"label": "APP端详情页url跳转地址",
"type": "string",
"help_txt": "创建钉钉官方待办时,该字段无需传入;创建第三方待办时,需传入自身应用详情页链接"
},
{
"key": "pcUrl",
"label": "PC端详情页url跳转地址",
"type": "string",
"help_txt": "创建钉钉官方待办时,该字段无需传入;创建第三方待办时,需传入自身应用详情页链接"
}
]
},
{
"key": "isOnlyShowExecutor",
"label": "生成的待办是否仅展示在执行者的待办列表中",
"type": "boolean"
},
{
"key": "priority",
"label": "优先级",
"type": "string",
"dropdown": true,
"choices": [
{
"key": "10",
"label": "较低"
},
{
"key": "20",
"label": "普通"
},
{
"key": "30",
"label": "紧急"
},
{
"key": "40",
"label": "非常紧急"
}
]
}
],
"6": [
{
"key": "userid_list",
"label": "接收者的userid",
"dropdownTree": true,
"multiplesTree": true,
"queryParams": [
{
"label": "父节点id",
"key": "node_id",
"is_key": true,
"defaulttext": 1
},
{
"label": "标识",
"key": "flag",
"defaulttext": 1
}
],
"url": "/v1/api/application/dingdingself/dropdowntreeserver/get_dept_users",
"choices": [],
"help_txt": "请选择接收者;最大用户列表长度100"
},
{
"key": "dept_id_list",
"label": "接收者的部门id",
"dropdownTree": true,
"multiplesTree": true,
"queryParams": [
{
"label": "父节点id",
"key": "node_id",
"is_key": true,
"defaulttext": 1
},
{
"label": "标识",
"key": "flag",
"defaulttext": 1
}
],
"url": "/v1/api/application/dingdingself/dropdowntree/get_depts",
"choices": [],
"help_txt": "请选择接收部门;包括子部门下的所有用户;最多支持20个部门"
},
{
"key": "to_all_user",
"label": "是否发送给企业全部用户",
"type": "boolean",
"help_txt": "当值为否时,接受者和部门二选一必填, 默认为否"
},
{
"key": "content",
"label": "消息内容",
"help_txt": "建议500字符以内",
"required": true
}
]
}
true
[]
[]
[
{
"id": 305,
"name": "金蝶云星空",
"description": "<p>金蝶云·星空聚焦多组织,多利润中心的大中型企业,以 “开放、标准、社交”三大特性为数字经济时代的企业提供开放的 ERP 云平台。服务涵盖:财务、供应链、智能制造、阿米巴管理、全渠道营销、电商、HR、企业互联网服务。</p>",
"popular": 177,
"published_at": "2022-04-29T10:08:21.000Z",
"created_at": "2022-04-29T10:08:21.000Z",
"updated_at": "2022-10-21T12:22:30.000Z",
"app_id": "267",
"category": "ERP",
"locale": "zh-Hans",
"short_description": "ERP系统",
"available": true,
"appid": null,
"website": "https://www.kingdee.com/products/galaxy.html",
"video": null,
"videos": 65,
"app_version": "1.0.0",
"key_words": null,
"qr_code": null,
"qr": null,
"sharelink": null,
"seo": null,
"icon": {
"id": 5957,
"name": "_373fd26afc.svg",
"alternativeText": "",
"caption": "",
"width": 50,
"height": 50,
"formats": null,
"hash": "373fd26afc_d6c7b5ea7d",
"ext": ".svg",
"mime": "image/svg+xml",
"size": 1.28,
"url": "/uploads/373fd26afc_d6c7b5ea7d.svg",
"previewUrl": null,
"provider": "local",
"provider_metadata": null,
"created_at": "2022-09-01T07:50:58.000Z",
"updated_at": "2022-09-01T07:50:58.000Z"
}
},
{
"id": 201,
"name": "钉钉(第三方应用)",
"description": "<p>钉钉,阿里巴巴出品,专为全球企业组织打造的智能移动办公平台,含PC版,Ipad和手机版。远程视频会议,消息已读未读,DING消息任务管理,让沟通更高效;移动办公考勤,签到,审批,企业邮箱,免费企业OA,企业通讯录,钉钉教育解决方案,让工作学习更简单!</p>",
"popular": 201,
"published_at": "2022-02-18T06:10:56.000Z",
"created_at": "2022-02-18T06:10:54.000Z",
"updated_at": "2022-07-01T02:25:22.000Z",
"app_id": "204",
"category": "Teamwork",
"locale": "zh-Hans",
"short_description": "阿里OA协同办公",
"available": true,
"appid": null,
"website": "https://www.dingtalk.com",
"video": null,
"videos": 13,
"app_version": "1.0.0",
"key_words": null,
"qr_code": null,
"qr": null,
"sharelink": null,
"seo": null,
"icon": {
"id": 2146,
"name": "Dingding_c2e2a537de.svg",
"alternativeText": "",
"caption": "",
"width": 50,
"height": 50,
"formats": null,
"hash": "Dingding_c2e2a537de_d62c18fb9b",
"ext": ".svg",
"mime": "image/svg+xml",
"size": 9.4,
"url": "/uploads/Dingding_c2e2a537de_d62c18fb9b.svg",
"previewUrl": null,
"provider": "local",
"provider_metadata": null,
"created_at": "2022-02-18T06:25:05.000Z",
"updated_at": "2022-02-18T06:25:06.000Z"
}
},
{
"id": 25,
"name": "钉钉(自建应用)",
"description": "<p>钉钉,阿里巴巴出品,专为全球企业组织打造的智能移动办公平台,含PC版,Ipad和手机版。远程视频会议,消息已读未读,DING消息任务管理,让沟通更高效;移动办公考勤,签到,审批,企业邮箱,免费企业OA,企业通讯录,钉钉教育解决方案,让工作学习更简单!</p>",
"popular": 216,
"published_at": "2021-10-25T03:01:37.000Z",
"created_at": "2021-10-25T03:01:35.000Z",
"updated_at": "2023-11-09T07:07:58.000Z",
"app_id": "69",
"category": "Teamwork",
"locale": "zh-Hans",
"short_description": "阿里协同OA系统",
"available": true,
"appid": null,
"website": "https://www.dingtalk.com",
"video": null,
"videos": 109,
"app_version": "1.0.0",
"key_words": null,
"qr_code": null,
"qr": null,
"sharelink": null,
"seo": null,
"icon": {
"id": 1811,
"name": "Dingding.svg",
"alternativeText": "",
"caption": "",
"width": 50,
"height": 50,
"formats": null,
"hash": "Dingding_ac75c3cf81",
"ext": ".svg",
"mime": "image/svg+xml",
"size": 9.4,
"url": "/uploads/Dingding_ac75c3cf81.svg",
"previewUrl": null,
"provider": "local",
"provider_metadata": null,
"created_at": "2022-01-26T02:46:50.000Z",
"updated_at": "2022-01-26T02:46:50.000Z"
}
},
{
"id": 915,
"name": "钉钉待办任务",
"description": "<p>钉钉【待办】是用户处理各种待办事项的中心,用有序高效的方式,掌管工作学习大小事。今日事,今日毕。</p>",
"popular": 147,
"published_at": "2022-11-18T01:36:36.000Z",
"created_at": "2022-11-17T02:42:24.000Z",
"updated_at": "2022-11-18T01:36:36.000Z",
"app_id": "387",
"category": "Dingding",
"locale": "zh-Hans",
"short_description": "处理待办事项中心",
"available": true,
"appid": null,
"website": "https://page.dingtalk.com/wow/z/dingtalk/act/todo?spm=a213l2.26021147.9451075229.31.3fd046afc0okqW&wh_biz=tm",
"video": null,
"videos": null,
"app_version": "1.0.0",
"key_words": null,
"qr_code": null,
"qr": null,
"sharelink": null,
"seo": null,
"icon": {
"id": 7252,
"name": "daiban.svg",
"alternativeText": "",
"caption": "",
"width": 50,
"height": 50,
"formats": null,
"hash": "daiban_21628cc38e",
"ext": ".svg",
"mime": "image/svg+xml",
"size": 1.31,
"url": "/uploads/daiban_21628cc38e.svg",
"previewUrl": null,
"provider": "local",
"provider_metadata": null,
"created_at": "2022-11-17T05:51:35.000Z",
"updated_at": "2022-11-17T05:51:35.000Z"
}
},
{
"id": 943,
"name": "钉钉工作通知",
"description": "<p>工作通知消息是以某个应用的名义推送到员工的工作通知消息,例如生日祝福、入职提醒等。可以发送文本、语音、链接等,消息类型和样例可参考消息类型与数据格式。</p>",
"popular": 147,
"published_at": "2022-11-25T08:26:20.000Z",
"created_at": "2022-11-24T07:45:09.000Z",
"updated_at": "2022-11-25T08:26:20.000Z",
"app_id": "402",
"category": "Dingding",
"locale": "zh-Hans",
"short_description": "发送消息通知平台",
"available": true,
"appid": null,
"website": "https://www.dingtalk.com/",
"video": null,
"videos": null,
"app_version": "1.0.0",
"key_words": null,
"qr_code": null,
"qr": null,
"sharelink": null,
"seo": null,
"icon": {
"id": 7840,
"name": "Dingding-gongzuotongzhi.svg",
"alternativeText": "",
"caption": "",
"width": 50,
"height": 50,
"formats": null,
"hash": "Dingding_gongzuotongzhi_be8ec7d0c6",
"ext": ".svg",
"mime": "image/svg+xml",
"size": 1.5,
"url": "/uploads/Dingding_gongzuotongzhi_be8ec7d0c6.svg",
"previewUrl": null,
"provider": "local",
"provider_metadata": null,
"created_at": "2022-11-24T08:02:22.000Z",
"updated_at": "2022-11-24T08:02:22.000Z"
}
}
]
[
{
"id": 2,
"name": "消息通知",
"locale": "zh-Hans",
"published_at": "2022-05-30T07:29:40.000Z",
"created_at": "2022-05-20T08:12:03.000Z",
"updated_at": "2022-05-30T07:29:40.000Z",
"sort": 5
},
{
"id": 5,
"name": "办公协同",
"locale": "zh-Hans",
"published_at": "2022-05-30T07:29:32.000Z",
"created_at": "2022-05-20T08:12:53.000Z",
"updated_at": "2022-05-30T07:29:32.000Z",
"sort": 8
}
]
[
{
"id": 1342,
"key": null,
"published_at": "2022-03-31T11:00:09.000Z",
"created_at": "2022-03-31T11:00:09.000Z",
"updated_at": "2023-11-06T07:45:37.000Z",
"action_id": "1586",
"action_name": "搜索用户UserId",
"error": null,
"description": "根据用户名称搜索用户userId",
"action_type": "action",
"app": null,
"template": null,
"action_key": "1586"
},
{
"id": 2001,
"key": null,
"published_at": "2022-06-02T11:30:22.000Z",
"created_at": "2022-06-02T11:30:22.000Z",
"updated_at": "2023-11-06T07:38:20.000Z",
"action_id": "1953",
"action_name": "查询用户详情",
"error": null,
"description": "使用用户id查询用户的详细信息",
"action_type": "action",
"app": null,
"template": null,
"action_key": "1953"
},
{
"id": 2725,
"key": null,
"published_at": "2022-07-25T08:33:22.000Z",
"created_at": "2022-07-25T08:33:22.000Z",
"updated_at": "2023-11-06T07:46:48.000Z",
"action_id": "2487",
"action_name": "当有单据信息发生变化时(自定义查询)",
"error": null,
"description": "当单据中的数据发生变化时触发此动作",
"action_type": "trigger",
"app": null,
"template": null,
"action_key": "2487"
},
{
"id": 3022,
"key": null,
"published_at": "2022-08-18T11:30:29.000Z",
"created_at": "2022-08-18T11:30:29.000Z",
"updated_at": "2023-11-06T07:46:51.000Z",
"action_id": "2690",
"action_name": "查询单据列表",
"error": null,
"description": "查询单据列表",
"action_type": "action",
"app": null,
"template": null,
"action_key": "2690"
},
{
"id": 4067,
"key": null,
"published_at": "2022-11-18T01:43:00.000Z",
"created_at": "2022-11-18T01:43:01.000Z",
"updated_at": "2023-11-06T07:48:46.000Z",
"action_id": "3077",
"action_name": "创建钉钉待办任务",
"error": null,
"description": "发起一个钉钉待办任务",
"action_type": "action",
"app": null,
"template": null,
"action_key": "3077"
},
{
"id": 4227,
"key": null,
"published_at": "2022-11-25T08:32:04.000Z",
"created_at": "2022-11-25T08:32:04.000Z",
"updated_at": "2023-11-06T07:48:54.000Z",
"action_id": "3161",
"action_name": "发送文本消息工作通知",
"error": null,
"description": "给指定员工或部门发送消息文本格式的工作通知",
"action_type": "action",
"app": null,
"template": null,
"action_key": "3161"
}
]
[]
[]
100+
100+
42
72
73
permission
2081
金蝶云星空有新的单据生成时,自动创建钉钉待办任务并发送钉钉工作通知
<p>每当金蝶云星空有指定类型的单据生成时,通过集简云流程自动获取该单据内的字段数据,并在钉钉创建待办任务,同时给企业内指定人员或部门发送钉钉工作通知</p>
zh-Hans
2023-01-02T07:19:57.000Z
2023-01-02T07:19:57.000Z
2023-11-12T01:50:37.000Z
1
el4061lf
每当金蝶云星空有指定类型的单据生成时,通过集简云流程自动获取该单据内的字段数据,并在钉钉创建待办任务,同时给企业内指定人员或部门发送钉钉工作通知
anyone
Z6gBm8wTuuTx
official
pc1265
passed
孙浩
fi4139zv
孙浩
[
{
"desc": "当单据中的数据发生变化时触发此动作",
"app_id": 267,
"action_id": 2487,
"action_type": "1",
"sort": "1",
"note": null
},
{
"desc": "查询单据列表",
"app_id": 267,
"action_id": 2690,
"action_type": "2",
"sort": "2",
"note": null
},
{
"desc": "通过用户的姓名获取指定用户userid(支持用户名、英文名或名称全拼)",
"app_id": 204,
"action_id": 1586,
"action_type": "2",
"sort": "3",
"note": null
},
{
"desc": "使用钉钉自建应用根据用户id查询用户的详细信息",
"app_id": 69,
"action_id": 1953,
"action_type": "2",
"sort": "4",
"note": null
},
{
"desc": "发起一个钉钉待办任务",
"app_id": 387,
"action_id": 3077,
"action_type": "2",
"sort": "5",
"note": null
},
{
"desc": "给指定员工或部门发送消息文本格式的工作通知",
"app_id": 402,
"action_id": 3161,
"action_type": "2",
"sort": "6",
"note": null
}
]
42
{
"id": 189,
"name": "金蝶云星空有新的单据生成时,自动创建钉钉待办任务并发送钉钉工作通知",
"url": "https://download.jijyun.cn/templates/2081%E2%88%9A.mp4",
"type": "templates",
"published_at": "2023-03-30T07:40:57.000Z",
"created_at": "2023-03-30T07:35:37.000Z",
"updated_at": "2023-11-09T07:03:11.000Z",
"app": null,
"template": 2081,
"sort": 99,
"Copy": null,
"help_collection": null,
"video_class": null,
"video_collection": null,
"time_length": null,
"description": null,
"recommend": null,
"cover": {
"id": 10311,
"name": "横.png",
"alternativeText": "",
"caption": "",
"width": 1920,
"height": 1080,
"formats": {
"thumbnail": {
"name": "thumbnail_横.png",
"hash": "thumbnail__d9bed6675b",
"ext": ".png",
"mime": "image/png",
"width": 245,
"height": 138,
"size": 18.05,
"path": null,
"url": "/uploads/thumbnail__d9bed6675b.png"
},
"large": {
"name": "large_横.png",
"hash": "large__d9bed6675b",
"ext": ".png",
"mime": "image/png",
"width": 1000,
"height": 563,
"size": 94.25,
"path": null,
"url": "/uploads/large__d9bed6675b.png"
},
"medium": {
"name": "medium_横.png",
"hash": "medium__d9bed6675b",
"ext": ".png",
"mime": "image/png",
"width": 750,
"height": 422,
"size": 67.95,
"path": null,
"url": "/uploads/medium__d9bed6675b.png"
},
"small": {
"name": "small_横.png",
"hash": "small__d9bed6675b",
"ext": ".png",
"mime": "image/png",
"width": 500,
"height": 281,
"size": 42.35,
"path": null,
"url": "/uploads/small__d9bed6675b.png"
}
},
"hash": "_d9bed6675b",
"ext": ".png",
"mime": "image/png",
"size": 63.36,
"url": "/uploads/_d9bed6675b.png",
"previewUrl": null,
"provider": "local",
"provider_metadata": null,
"created_at": "2023-03-30T07:35:11.000Z",
"updated_at": "2023-03-30T07:35:11.000Z"
}
}
false
4
{
"1": [
{
"key": "FormId",
"label": "请选择您要监测的单据类型",
"required": true,
"type": "string",
"help_txt": "请选择您要监测的单据类型",
"dropdown": true,
"choices": [
{
"key": "AP_PAYBILL",
"label": "付款单"
},
{
"key": "AR_receivable",
"label": "应收单"
},
{
"key": "AP_OtherPayable",
"label": "其他应付单"
},
{
"key": "AR_OtherRecAble",
"label": "其他应收单"
},
{
"key": "BD_Customer",
"label": "客户"
},
{
"key": "SAL_SaleOrder",
"label": "销售订单"
},
{
"key": "SAL_OUTSTOCK",
"label": "销售出库单"
},
{
"key": "CRM_Contract",
"label": "销售合同"
},
{
"key": "PUR_Requisition",
"label": "采购申请"
},
{
"key": "CN_PAYAPPLY",
"label": "付款申请"
},
{
"key": "IV_PURCHASEOC",
"label": "采购普通发票"
},
{
"key": "IV_PURCHASEIC",
"label": "采购增值税专用发票"
},
{
"key": "IV_SALESIC",
"label": "销售增值税专用发票"
},
{
"key": "IV_SALESOC",
"label": "销售普通发票"
},
{
"key": "STK_MisDelivery",
"label": "其他出库单"
},
{
"key": "SAL_QUOTATION",
"label": "销售报价单"
},
{
"key": "SAL_DELIVERYNOTICE",
"label": "发货通知单"
},
{
"key": "SAL_RETURNNOTICE",
"label": "退货通知单"
},
{
"key": "QM_InspectBill",
"label": "检验单"
}
]
},
{
"key": "FieldKeys",
"label": "结果中展示的字段",
"type": "string",
"multiples": true,
"required": true,
"help_txt": "本动作触发后,需要输出的字段信息,例如:表单编码,创建时间等"
},
{
"key": "FilterString",
"label": "筛选条件",
"type": "string",
"required": false,
"help_txt": "通过过滤条件筛选出您需要的单据,格式为:FBillNO='QTYSD00000003' 多个条件请使用 and 进行连接,如:FBillNO='QTYSD00000003' and FDATE='2022-07-20'。本动作将按照您配置的过滤条件获取单据,例如,获取当天的字段为某个状态的所有单据"
},
{
"key": "unique_field",
"label": "唯一字段",
"type": "string",
"required": false,
"help_txt": "用于对两次不同时间抓取的单据做对比去重处理,分辨出新的数据。单据中字段没有特殊变化的情况下无需修改",
"defaulttext": "FBILLNO"
}
],
"2": [
{
"key": "FormId",
"label": "业务对象表单Id",
"required": true,
"type": "string",
"dropdown": true,
"choices": [
{
"key": "ER_ExpenseRequest",
"label": "费用申请单"
},
{
"key": "SAL_SaleOrder",
"label": "销售订单"
},
{
"key": "AP_PAYBILL",
"label": "付款单"
},
{
"key": "AR_receivable",
"label": "应收单"
},
{
"key": "AP_OtherPayable",
"label": "其他应付单"
},
{
"key": "AR_OtherRecAble",
"label": "其他应收单"
},
{
"key": "CRM_Contract",
"label": "销售合同"
},
{
"key": "AR_receivable",
"label": "应收单"
}
]
},
{
"key": "FieldKeys",
"label": "需查询的字段",
"multiples": true,
"help_txt": "默认返回【FDate(日期),FID(单据id),FBillTypeID(单据类型),FCreatorId(创建人)】其他字段可以参考<a href=\"https://openapi.open.kingdee.com/ApiCenterDoc?operateId=588947657558853633\">金蝶云星空开放平台</a>"
},
{
"key": "FilterString",
"label": "过滤条件",
"multiples": false,
"type": "string",
"required": false,
"help_txt": "通过过滤条件筛选出您需要的单据,格式为:FBillNO='QTYSD00000003' 多个条件请使用 and 进行连接,如:FBillNO='QTYSD00000003' and FDATE='2022-07-20'。本动作将按照您配置的过滤条件获取单据,例如,获取当天的字段为某个状态的所有单据"
},
{
"key": "FNumber",
"label": "单据编码",
"help_txt": "请输入单据编码,注意:过滤条件、单据编码、单据ID三选一填写",
"required": false,
"type": "string"
},
{
"key": "FID",
"label": "单据ID",
"help_txt": "请输入单据FID,注意:过滤条件、单据编码、单据ID三选一填写",
"required": false,
"type": "string"
},
{
"key": "TopRowCount",
"label": "返回总行数",
"required": false,
"help_txt": "分页大小",
"type": "number"
},
{
"key": "StartRow",
"label": "开始行索引",
"required": false,
"help_txt": "起始页码",
"type": "number"
},
{
"key": "Limit",
"label": "最大行数",
"required": false,
"help_txt": "不能超过10000",
"type": "number"
},
{
"key": "self_filter",
"label": "自定义筛选",
"required": false,
"help_txt": "格式:字段名=值;例如输入FName=123将筛选出FName字段值为123的数据",
"type": "string"
}
],
"3": [
{
"key": "queryWord",
"label": "用户名称",
"type": "string",
"required": true,
"help_txt": "支持用户名、英文名或名称全拼进行查询;注意重名用户区分"
},
{
"key": "offset",
"label": "分页查询起点",
"type": "number",
"required": true,
"help_txt": "示例:0"
},
{
"key": "size",
"label": "分页大小",
"type": "number",
"required": true,
"help_txt": "示例:10"
}
],
"4": [
{
"key": "userid",
"label": "用户的userId",
"type": "string",
"required": true,
"help_txt": "示例:manager4220,可通过[查询员工ID]动作获取到用户的id"
},
{
"key": "language",
"label": "通讯录语言",
"type": "string",
"dropdown": true,
"choices": [
{
"key": "zh_CN",
"label": "中文"
},
{
"key": "en_US",
"label": "英文"
}
],
"help_txt": "默认值为中文"
}
],
"5": [
{
"key": "sourceId",
"label": "业务ID",
"type": "string",
"help_txt": "当ISV接入钉钉待办后,传递ISV应用业务系统侧的唯一标识任务ID。当待办创建成功后,需要更换新的sourceId,保持一个待办任务对应一个sourceId。创建钉钉官方待办时,该字段无需传入。"
},
{
"key": "subject",
"label": "待办标题",
"required": true,
"type": "string",
"help_txt": "最大长度为1024"
},
{
"key": "description",
"label": "待办备注描述",
"type": "string",
"help_txt": "最大长度为4096"
},
{
"key": "creatorId",
"label": "创建者的unionId",
"type": "string",
"required": true,
"help_txt": "\n 请输入用户的Unionid;您可以通过【钉钉通讯录】应用中的查询用户详情动作获取\n "
},
{
"key": "operatorId",
"label": "操作者unionId",
"type": "string",
"required": false,
"help_txt": "\n 请输入操作者的Unionid;您可以通过【钉钉通讯录】应用中的查询用户详情动作获取\n "
},
{
"key": "dueTime",
"label": "截止时间",
"type": "number",
"help_txt": "Unix时间戳,单位毫秒,可使用“内置应用-日期时间格式变更”进行日期时间转换"
},
{
"key": "executorIds",
"label": "执行者的unionId",
"type": "string",
"help_txt": "\n 请输入执行者的Unionid数组;您可以通过【钉钉通讯录】应用中的查询用户详情动作获取,示例:[\"xxxx\", \"yyyy\"]\n "
},
{
"key": "participantIds",
"label": "参与者的unionId",
"type": "string",
"help_txt": "\n 请输入参与者的Unionid数组;您可以通过【钉钉通讯录】应用中的查询用户详情动作获取,示例:[\"xxxx\", \"yyyy\"]\n "
},
{
"key": "detailUrl",
"label": "详情页url跳转地址",
"type": "obj",
"items": [
{
"key": "appUrl",
"label": "APP端详情页url跳转地址",
"type": "string",
"help_txt": "创建钉钉官方待办时,该字段无需传入;创建第三方待办时,需传入自身应用详情页链接"
},
{
"key": "pcUrl",
"label": "PC端详情页url跳转地址",
"type": "string",
"help_txt": "创建钉钉官方待办时,该字段无需传入;创建第三方待办时,需传入自身应用详情页链接"
}
]
},
{
"key": "isOnlyShowExecutor",
"label": "生成的待办是否仅展示在执行者的待办列表中",
"type": "boolean"
},
{
"key": "priority",
"label": "优先级",
"type": "string",
"dropdown": true,
"choices": [
{
"key": "10",
"label": "较低"
},
{
"key": "20",
"label": "普通"
},
{
"key": "30",
"label": "紧急"
},
{
"key": "40",
"label": "非常紧急"
}
]
}
],
"6": [
{
"key": "userid_list",
"label": "接收者的userid",
"dropdownTree": true,
"multiplesTree": true,
"queryParams": [
{
"label": "父节点id",
"key": "node_id",
"is_key": true,
"defaulttext": 1
},
{
"label": "标识",
"key": "flag",
"defaulttext": 1
}
],
"url": "/v1/api/application/dingdingself/dropdowntreeserver/get_dept_users",
"choices": [],
"help_txt": "请选择接收者;最大用户列表长度100"
},
{
"key": "dept_id_list",
"label": "接收者的部门id",
"dropdownTree": true,
"multiplesTree": true,
"queryParams": [
{
"label": "父节点id",
"key": "node_id",
"is_key": true,
"defaulttext": 1
},
{
"label": "标识",
"key": "flag",
"defaulttext": 1
}
],
"url": "/v1/api/application/dingdingself/dropdowntree/get_depts",
"choices": [],
"help_txt": "请选择接收部门;包括子部门下的所有用户;最多支持20个部门"
},
{
"key": "to_all_user",
"label": "是否发送给企业全部用户",
"type": "boolean",
"help_txt": "当值为否时,接受者和部门二选一必填, 默认为否"
},
{
"key": "content",
"label": "消息内容",
"help_txt": "建议500字符以内",
"required": true
}
]
}
true
[]
[]
[
{
"id": 305,
"name": "金蝶云星空",
"description": "<p>金蝶云·星空聚焦多组织,多利润中心的大中型企业,以 “开放、标准、社交”三大特性为数字经济时代的企业提供开放的 ERP 云平台。服务涵盖:财务、供应链、智能制造、阿米巴管理、全渠道营销、电商、HR、企业互联网服务。</p>",
"popular": 177,
"published_at": "2022-04-29T10:08:21.000Z",
"created_at": "2022-04-29T10:08:21.000Z",
"updated_at": "2022-10-21T12:22:30.000Z",
"app_id": "267",
"category": "ERP",
"locale": "zh-Hans",
"short_description": "ERP系统",
"available": true,
"appid": null,
"website": "https://www.kingdee.com/products/galaxy.html",
"video": null,
"videos": 65,
"app_version": "1.0.0",
"key_words": null,
"qr_code": null,
"qr": null,
"sharelink": null,
"seo": null,
"icon": {
"id": 5957,
"name": "_373fd26afc.svg",
"alternativeText": "",
"caption": "",
"width": 50,
"height": 50,
"formats": null,
"hash": "373fd26afc_d6c7b5ea7d",
"ext": ".svg",
"mime": "image/svg+xml",
"size": 1.28,
"url": "/uploads/373fd26afc_d6c7b5ea7d.svg",
"previewUrl": null,
"provider": "local",
"provider_metadata": null,
"created_at": "2022-09-01T07:50:58.000Z",
"updated_at": "2022-09-01T07:50:58.000Z"
}
},
{
"id": 201,
"name": "钉钉(第三方应用)",
"description": "<p>钉钉,阿里巴巴出品,专为全球企业组织打造的智能移动办公平台,含PC版,Ipad和手机版。远程视频会议,消息已读未读,DING消息任务管理,让沟通更高效;移动办公考勤,签到,审批,企业邮箱,免费企业OA,企业通讯录,钉钉教育解决方案,让工作学习更简单!</p>",
"popular": 201,
"published_at": "2022-02-18T06:10:56.000Z",
"created_at": "2022-02-18T06:10:54.000Z",
"updated_at": "2022-07-01T02:25:22.000Z",
"app_id": "204",
"category": "Teamwork",
"locale": "zh-Hans",
"short_description": "阿里OA协同办公",
"available": true,
"appid": null,
"website": "https://www.dingtalk.com",
"video": null,
"videos": 13,
"app_version": "1.0.0",
"key_words": null,
"qr_code": null,
"qr": null,
"sharelink": null,
"seo": null,
"icon": {
"id": 2146,
"name": "Dingding_c2e2a537de.svg",
"alternativeText": "",
"caption": "",
"width": 50,
"height": 50,
"formats": null,
"hash": "Dingding_c2e2a537de_d62c18fb9b",
"ext": ".svg",
"mime": "image/svg+xml",
"size": 9.4,
"url": "/uploads/Dingding_c2e2a537de_d62c18fb9b.svg",
"previewUrl": null,
"provider": "local",
"provider_metadata": null,
"created_at": "2022-02-18T06:25:05.000Z",
"updated_at": "2022-02-18T06:25:06.000Z"
}
},
{
"id": 25,
"name": "钉钉(自建应用)",
"description": "<p>钉钉,阿里巴巴出品,专为全球企业组织打造的智能移动办公平台,含PC版,Ipad和手机版。远程视频会议,消息已读未读,DING消息任务管理,让沟通更高效;移动办公考勤,签到,审批,企业邮箱,免费企业OA,企业通讯录,钉钉教育解决方案,让工作学习更简单!</p>",
"popular": 216,
"published_at": "2021-10-25T03:01:37.000Z",
"created_at": "2021-10-25T03:01:35.000Z",
"updated_at": "2023-11-09T07:07:58.000Z",
"app_id": "69",
"category": "Teamwork",
"locale": "zh-Hans",
"short_description": "阿里协同OA系统",
"available": true,
"appid": null,
"website": "https://www.dingtalk.com",
"video": null,
"videos": 109,
"app_version": "1.0.0",
"key_words": null,
"qr_code": null,
"qr": null,
"sharelink": null,
"seo": null,
"icon": {
"id": 1811,
"name": "Dingding.svg",
"alternativeText": "",
"caption": "",
"width": 50,
"height": 50,
"formats": null,
"hash": "Dingding_ac75c3cf81",
"ext": ".svg",
"mime": "image/svg+xml",
"size": 9.4,
"url": "/uploads/Dingding_ac75c3cf81.svg",
"previewUrl": null,
"provider": "local",
"provider_metadata": null,
"created_at": "2022-01-26T02:46:50.000Z",
"updated_at": "2022-01-26T02:46:50.000Z"
}
},
{
"id": 915,
"name": "钉钉待办任务",
"description": "<p>钉钉【待办】是用户处理各种待办事项的中心,用有序高效的方式,掌管工作学习大小事。今日事,今日毕。</p>",
"popular": 147,
"published_at": "2022-11-18T01:36:36.000Z",
"created_at": "2022-11-17T02:42:24.000Z",
"updated_at": "2022-11-18T01:36:36.000Z",
"app_id": "387",
"category": "Dingding",
"locale": "zh-Hans",
"short_description": "处理待办事项中心",
"available": true,
"appid": null,
"website": "https://page.dingtalk.com/wow/z/dingtalk/act/todo?spm=a213l2.26021147.9451075229.31.3fd046afc0okqW&wh_biz=tm",
"video": null,
"videos": null,
"app_version": "1.0.0",
"key_words": null,
"qr_code": null,
"qr": null,
"sharelink": null,
"seo": null,
"icon": {
"id": 7252,
"name": "daiban.svg",
"alternativeText": "",
"caption": "",
"width": 50,
"height": 50,
"formats": null,
"hash": "daiban_21628cc38e",
"ext": ".svg",
"mime": "image/svg+xml",
"size": 1.31,
"url": "/uploads/daiban_21628cc38e.svg",
"previewUrl": null,
"provider": "local",
"provider_metadata": null,
"created_at": "2022-11-17T05:51:35.000Z",
"updated_at": "2022-11-17T05:51:35.000Z"
}
},
{
"id": 943,
"name": "钉钉工作通知",
"description": "<p>工作通知消息是以某个应用的名义推送到员工的工作通知消息,例如生日祝福、入职提醒等。可以发送文本、语音、链接等,消息类型和样例可参考消息类型与数据格式。</p>",
"popular": 147,
"published_at": "2022-11-25T08:26:20.000Z",
"created_at": "2022-11-24T07:45:09.000Z",
"updated_at": "2022-11-25T08:26:20.000Z",
"app_id": "402",
"category": "Dingding",
"locale": "zh-Hans",
"short_description": "发送消息通知平台",
"available": true,
"appid": null,
"website": "https://www.dingtalk.com/",
"video": null,
"videos": null,
"app_version": "1.0.0",
"key_words": null,
"qr_code": null,
"qr": null,
"sharelink": null,
"seo": null,
"icon": {
"id": 7840,
"name": "Dingding-gongzuotongzhi.svg",
"alternativeText": "",
"caption": "",
"width": 50,
"height": 50,
"formats": null,
"hash": "Dingding_gongzuotongzhi_be8ec7d0c6",
"ext": ".svg",
"mime": "image/svg+xml",
"size": 1.5,
"url": "/uploads/Dingding_gongzuotongzhi_be8ec7d0c6.svg",
"previewUrl": null,
"provider": "local",
"provider_metadata": null,
"created_at": "2022-11-24T08:02:22.000Z",
"updated_at": "2022-11-24T08:02:22.000Z"
}
}
]
[
{
"id": 2,
"name": "消息通知",
"locale": "zh-Hans",
"published_at": "2022-05-30T07:29:40.000Z",
"created_at": "2022-05-20T08:12:03.000Z",
"updated_at": "2022-05-30T07:29:40.000Z",
"sort": 5
},
{
"id": 5,
"name": "办公协同",
"locale": "zh-Hans",
"published_at": "2022-05-30T07:29:32.000Z",
"created_at": "2022-05-20T08:12:53.000Z",
"updated_at": "2022-05-30T07:29:32.000Z",
"sort": 8
}
]
[
{
"id": 1342,
"key": null,
"published_at": "2022-03-31T11:00:09.000Z",
"created_at": "2022-03-31T11:00:09.000Z",
"updated_at": "2023-11-06T07:45:37.000Z",
"action_id": "1586",
"action_name": "搜索用户UserId",
"error": null,
"description": "根据用户名称搜索用户userId",
"action_type": "action",
"app": null,
"template": null,
"action_key": "1586"
},
{
"id": 2001,
"key": null,
"published_at": "2022-06-02T11:30:22.000Z",
"created_at": "2022-06-02T11:30:22.000Z",
"updated_at": "2023-11-06T07:38:20.000Z",
"action_id": "1953",
"action_name": "查询用户详情",
"error": null,
"description": "使用用户id查询用户的详细信息",
"action_type": "action",
"app": null,
"template": null,
"action_key": "1953"
},
{
"id": 2725,
"key": null,
"published_at": "2022-07-25T08:33:22.000Z",
"created_at": "2022-07-25T08:33:22.000Z",
"updated_at": "2023-11-06T07:46:48.000Z",
"action_id": "2487",
"action_name": "当有单据信息发生变化时(自定义查询)",
"error": null,
"description": "当单据中的数据发生变化时触发此动作",
"action_type": "trigger",
"app": null,
"template": null,
"action_key": "2487"
},
{
"id": 3022,
"key": null,
"published_at": "2022-08-18T11:30:29.000Z",
"created_at": "2022-08-18T11:30:29.000Z",
"updated_at": "2023-11-06T07:46:51.000Z",
"action_id": "2690",
"action_name": "查询单据列表",
"error": null,
"description": "查询单据列表",
"action_type": "action",
"app": null,
"template": null,
"action_key": "2690"
},
{
"id": 4067,
"key": null,
"published_at": "2022-11-18T01:43:00.000Z",
"created_at": "2022-11-18T01:43:01.000Z",
"updated_at": "2023-11-06T07:48:46.000Z",
"action_id": "3077",
"action_name": "创建钉钉待办任务",
"error": null,
"description": "发起一个钉钉待办任务",
"action_type": "action",
"app": null,
"template": null,
"action_key": "3077"
},
{
"id": 4227,
"key": null,
"published_at": "2022-11-25T08:32:04.000Z",
"created_at": "2022-11-25T08:32:04.000Z",
"updated_at": "2023-11-06T07:48:54.000Z",
"action_id": "3161",
"action_name": "发送文本消息工作通知",
"error": null,
"description": "给指定员工或部门发送消息文本格式的工作通知",
"action_type": "action",
"app": null,
"template": null,
"action_key": "3161"
}
]
[]
[]
100+
100+
42
72
73