1. 如果想要在framework里面log具体的transaction记录的话,只能把logAppMessage放在loop外面,不然会有空白的log entry。

        比如这个简单的测试, REPEAT一次:

        webMethods里logAppMessage的问题

        会产生两行空白记录

        webMethods里logAppMessage的问题

    2. 这个也是EDI那个项目里面的empty log的原因,一个flow service里面只能有一个logAppMessage。

        webMethods里logAppMessage的问题

            webMethods里logAppMessage的问题

    3. 所以只能像下面这样code,

        webMethods里logAppMessage的问题

显示的才是正确的结果

webMethods里logAppMessage的问题

     4. Update on 2018-08-23

       即使是像3一样,如果child service bundled up in one parent service, and they execute as scheduled job (not manual running), it will also generate empty logs.

         这个和EXIT, SEQUENCE的执行/退出条件等都没有关系。   

相关文章:

  • 2022-12-23
  • 2021-11-17
  • 2022-12-23
  • 2021-07-22
  • 2021-06-12
  • 2021-06-17
  • 2022-01-06
  • 2021-09-14
猜你喜欢
  • 2021-11-07
  • 2022-12-23
  • 2022-12-23
  • 2021-11-06
  • 2021-09-21
  • 2022-12-23
  • 2021-04-09
相关资源
相似解决方案