Ad Widget

Collapse

Trigger Configuration

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wernerd
    Junior Member
    • Jan 2018
    • 9

    #1

    Trigger Configuration

    Hello!

    I have this item to check the count of files in a folder on a Windows fileserver.

    Code:
    vfs.dir.count["E:\Axapta_Files\FilesAxapta\Enaio\sales\ERROR"]
    I try to configure a trigger to send a notfication when a new file comes into this folder

    Code:
    last(/SATRZFS01/vfs.dir.count["E:\Axapta_Files\FilesAxapta\Enaio\sales\ERROR"],#1)>0
    When trigger was executed for the first time I got a notification, but when the filecount is +1 there is no notification.

    What must be the configuration for filecount +1 to send a notification?

    br
    Werner
    Attached Files
  • guille.rodriguez
    Senior Member
    • Jun 2022
    • 114

    #2
    Use change() instead last

    Comment

    Working...