Create an event based on unexpected file type

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #30799
    BigPhil
    Participant

    Hello, it’s my first post, so please be gentle.

    I would like to create two events:

    1) One which does something if an xlsx file is uploaded to a certain folder

    2) One which does something else if a file which is not an xlsx is uploaded to a certain folder

    Part (1) is easy, but I am having trouble with part (2). Can anyone point me in the right direction? Thanks.

    #37540
    pacman
    Participant

    We were able to answer question #2

    We created a event using a condition Regular Expression Match

    ^.*.(?!xlsx$|XLSX$)[^.]+$

    #37541
    BigPhil
    Participant

    Yes, actually I ended up using this:

    ^.*.(?!xlsx$|XLSX$).*

    which I prefer because I understand it better.

    I do not understand why the

    Code:

    [^.]+

    part in the suggested solution works, and so instead I chose to implement something which I understand!

    Thanks for the help

    Phil

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.