Skip to main content
January 10, 2024
Question

Process Model Event trigger

  • January 10, 2024
  • 6 replies
  • 0 views

Is it possible to trigger a process model when a new file is uploaded to a certain folder?

Use Case:
To run a process model that will send a file to another process.

    6 replies

    stefanhelzle0001
    January 10, 2024

    We upload files using processes. Why not just start that other process from the first one.

    But to your specific question, no, there are no "triggers" on folders or files.

    harshitb6843
    January 10, 2024

    I did not understand your use case very well. You can do that very easily by either a sub-process or by start process smart service. But you cannot automatically trigger a process when a file is uploaded. 

    When you are uploading the file, you can trigger the process from that very step. May it be via an API, or process or even interface. 

    stewart.burchell
    January 10, 2024

    Is the file being uploaded to a folder by a different (non-Appian Process) method? If so you could:

    • have a process that runs on a schedule that polls the folder and uses SFTP to move the file to Appian and start another process to process the file
    • the non-Appian process that places the file into the folder could also trigger an Appian process (via a WebAPI) to process the file as per the previous option
    January 11, 2024

    Hello [mention:7628077af4b9463e9533a897fad2351f:e9ed411860ed4f2ba0265705b8793d05] ,

    Yes, non-Appian process will upload/drop files to my appian folder. Will try to use WebAPI as suggested on the second bullet. Thank you.

    stefanhelzle0001
    January 11, 2024

    What kind of "non-Appian" process is this and how is the file uploaded?

    konduruc733182
    January 10, 2024

    Hello rodeld0968,

    What do you mean by uploaded to a certain folder? Is it dynamically changed based on the file uploaded? Is this complete process within Appian?

    If it's within Appian(Same Environment) then you can have your category and file values validated in a XOR and make a decision to run a process using a subprocess or a start process else would not. 

    If it is something on a different environment you can use webAPI to do the same. 

    Not aware of any other methods than these two. May be the above answers might help.