zoukankan      html  css  js  c++  java
  • 创建和发送事件

    1. Create Event
       Use OMF to create a new event definition object. Select Create >Administrative Items - Event Definitions. You may use another event (such as Submit) as an example. The name of your new event should match the argument in the PostEventAndStatus message. The TEXTID field should match the text identifier of the text to display to the user (created in Step 1). The process service and event server should match the Submit event
           use OMF to create Event:
        Name            = "ReportOKEvt"
        TEXTID          ="bbkout03"
        Process Service = "notifserv"
        Event Server    = "NtfEvq"

    2. Create Notification Rule
        Condition Name  = "TRUE"
        Class Name      = "PdmItem"
        Inherit         = "TRUE"
        Participant     = "super user"
        Event Name      = "ReportOKEvt"
     
    3. Create TEXT
           /*
            *.TEXT bbkout03
            *.Subject: Report compeleted and written to file #FILE#.
            */
     
    4. Post Event at method use PostEventAndStatus
        dstat = nvsSet(&textInserts, "FILE", outfile_name);
        dstat = PostEventStatus(obj, "ReportOKEvt", *mfail, textInserts, mfail);
        //check dstat and mfail here
  • 相关阅读:
    Ajax 异步请求返回集合遍历问题
    JS 类数组,字符串,转换成数组的方法
    laravel、TP、YII三个框架的优缺点对比
    纵深防御
    渗透测试小结
    常见的设计模式
    CDN简介
    WAF小介
    分布式事务及其常见的解决方案
    redis主从复制
  • 原文地址:https://www.cnblogs.com/hcfalan/p/422517.html
Copyright © 2011-2022 走看看