Automic Workload Automation

 View Only
  • 1.  FILE EVENT, can't make it work

    Posted Aug 28, 2017 06:45 AM
    I am creating a simple file system event to watch for some directory and if any one of the file size exceeds 1 byte the event should get triggered.
    0m7x9jkc80zy.pnghttps://us.v-cdn.net/5019921/uploads/editor/sa/0m7x9jkc80zy.png" width="468">

    And in Event Process page, I have the following:
    eatphspaou28.pnghttps://us.v-cdn.net/5019921/uploads/editor/8o/eatphspaou28.png" width="734">


    But, nothing happens, in report tab for the execution am seeing this.
    k7ai4zxauxqh.pnghttps://us.v-cdn.net/5019921/uploads/editor/ur/k7ai4zxauxqh.png" width="708">

    Can anyone help?


  • 2.  FILE EVENT, can't make it work

    Posted Aug 28, 2017 07:50 AM
    This is a WIN permission issue.

    Try to use a subdirectory e.g. C:\Temp\*.txt and it will work.


  • 3.  FILE EVENT, can't make it work

    Posted Aug 28, 2017 08:14 AM
    FrankMuffke thank you.

    Yes, I can see the file is getting created now after moving to the temp directory of watch path.

    But, I can see ":PRINT" statement not working in "Event Process" tab, is this expected?


  • 4.  FILE EVENT, can't make it work

    Posted Aug 28, 2017 08:29 AM
    I suppose this is an AWI issue.

    If you go to Statistics of your EVNT object in JAVA client - your execution and Child statistics - Report you will see your print.

    Possibly I missed something, I am not an AWI expert, but i did not find any Report Button within the !EVNT executions section....


  • 5.  FILE EVENT, can't make it work

    Posted Aug 31, 2017 01:48 PM
    FYI - opened an INC @ Support to clearify this.


  • 6.  FILE EVENT, can't make it work

    Posted Sep 06, 2017 05:20 AM
    Just got an answer from Support regarding "Report of !Process of an EVNT not viewable" in AWI...PRB00137658

    Will be available with version 12.1.0 and 12.0.3

    planned Releases:
    12.1.0 - 2017-SEP-29
    12.0.3 - 2017-SEP-11






  • 7.  FILE EVENT, can't make it work

    Posted Sep 09, 2017 07:46 AM
    Forget AWI and use Java native interface !!! Less issue and easier to us ....


  • 8.  FILE EVENT, can't make it work

    Posted Sep 10, 2017 07:19 AM
    Your code should go to the !Process tab not the Process Tab.


  • 9.  FILE EVENT, can't make it work

    Posted Sep 11, 2017 08:51 AM
    Hesham ElSheikha said:
    Your code should go to the !Process tab not the Process Tab.
    I am using the !Process tab only.


  • 10.  FILE EVENT, can't make it work

    Posted Sep 12, 2017 06:44 AM
    @karthikeayan

    Just tried it with AWI 12.0.3 - The !EVNT - Execution and its report is now available.
    Yippie...