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
  • 相关阅读:
    MySQL性能调优语句
    APP测试
    JForum项目搭建
    Bug的等级及定位
    mysql any和all的用法
    mysql产生随机数
    MySQL存储过程例子
    【转】 卡特兰数
    牛客小白月赛5 I 区间 (interval) 【前缀和】
    牛客小白月赛5 D 阶乘(factorial) 【前缀】
  • 原文地址:https://www.cnblogs.com/hcfalan/p/422517.html
Copyright © 2011-2022 走看看