zoukankan      html  css  js  c++  java
  • 5. 审批完成后回调

    注册事件类型

    我只关注审批完成,所以这里是审批完成,bpms_instance_change

    审批实例结束|终止

    {
        "EventType": "bpms_instance_change",
        "processInstanceId": "ad253df6-e175caf-xxxxxxxxxxxx",
        "finishTime": 1495592305000,
        "corpId": "corpidxxxxxxxxxxxxx",
        "title": "自测-1016",
        "type": "finish",
        "url": "https://aflow.dingtalk.com/dingtalk/mobile/homepage.htm?corpid=ding2c015874d8175651&dd_share=",
        "result": "refuse",
        "createTime": 1495592272000,
        "staffId": "manager75",
        "processCode":"xxx"
      }

    参数说明:

    参数 说明
    EventType 事件类型
    processInstanceId 审批实例id
    corpId 审批实例对应的企业
    createTime 实例创建时间
    finishTime 审批结束时间
    title 实例标题
    type 审批正常结束(同意或拒绝)的type为finish,审批终止的type为terminate
    staffId 发起审批实例的员工
    url 审批实例url,可在钉钉内跳转到审批页面
    result 正常结束时result为agree,拒绝时result为refuse,审批终止时没这个值
    processCode 审批模板的唯一码

    回调地址

    自己的回调函数

    判断参数类型,其中type = finish and result = agree 的数据,获取它的processInstanceId 值

  • 相关阅读:
    zuul prefix
    zuul忽略表达式
    zuul 自定义路由映射规则
    ribbon重试机制
    feign容断忽略某些异常
    cloud turbine
    hystrix 给方法加断路器
    go语言常用函数:cap
    windows 安装 go语言
    mysql win源码比较大 不需要的文件删除 记录下来
  • 原文地址:https://www.cnblogs.com/maanshancss/p/13409276.html
Copyright © 2011-2022 走看看