(Example) Start a Process with File Dropping Event Service

This section gives procedures to create an file dropping event service to start a process when a file of a specified type is added to a folder.

Create a File Dropping Event

This step shows how to create a file dropping event.

How to Start

  1. In Manage Center, click System System icon > Events Service.

    Open Event Service screen
  2. On the Events Service screen, click Add Event Service Add Event Service icon

Procedure

  1. On the Select the type of Event service to be created screen, select File Dropping.

    Add New Event Service File Dropping screen
  2. Click Next.
  3. On the Add New Event Service screen, in the Event Title field, enter File Dropping Event.

    File Dropping Event Title field
  4. In the Process Model list, select Sales Invoice.

    The Sales Invoice is the process model you added to the process builder from AgilePoint NX App Store.


    File Dropping Process Model field
  5. In the Process Instance Prefix field, enter hireprocess.

    File Dropping Process Instance Prefix field
  6. Click Next.
  7. On the File Dropping screen, in the Folder field, enter C:\Source File.

    File Dropping Source File field
  8. Select Move to Folder and enter C:\Destination File.

    File Dropping Destination File field
  9. Click Enable File Dropping event

    File Dropping Enable File Dropping Event screen
  10. Click Finish.
  11. On your machine, in the C: drive, copy and paste a file to the Source File folder.
  12. The file moves to Destination File folder and process starts.

See the Process Started at Your Scheduled Time

This step shows how to see the process started when a file is added to a folder.

How to Start

  1. Click Manage.

    Click Manage
  2. In Manage Center, click Runtime Management > Processes.

    Click Runtime Management Processes

Procedure

  1. On the Process screen, you can see your process is running.

    Running Process screen File Dropping

How to Get the App

This example is based on the Sales Invoice app from the AgilePoint NX App Store. Use this procedure to get the app.

Prerequisites

Good to Know

  • This procedure is optional. It is provided so you can test the example with an out-of-the-box app.
  • This is part of the Background and Setup procedures, but many users preferred this step to appear after the example, not before it.

Procedure

  1. Click App Store.

    App Store
  2. In the CATEGORY section, click Sales.

    App Store screen
  3. Click the Sales Invoice app.

    Sales Invoice screen
  4. On the Sales Invoice screen, click Add.

    Sales Invoice screen
  5. On the Trust App screen, click Trust it.
  6. Click Return to site.