/
Creating an Application Event Activity

Creating an Application Event Activity

Events are used to schedule and trigger a process flow. Events enable you to specify when and how frequently the process flow should be executed on a recurring basis.

Application Event activity enables you to automate the processing/transforming/moving of data stored on the cloud applications. It specifies, when and how frequently a process flow should be executed based on creation of a new file.

This feature is available in:

Enterprise

Premier

Professional

Express


Steps to create an Application Event

  1. On the Adeptia Suite homepage menu, click the Develop tab.
  2. Go to Events > ApplicationThe Manage Application Event screen is displayed.

     

  3. Click Create New. The New Application Event screen is displayed.

     

  4. Select the required type of application from the dropdown list and then click the Next button.
  5. Enter the name and the description of the new Application Event activity in the Name and Description text boxes respectively.

     

  6. Select the trigger type from the dropdown list Trigger Type. Presently we only support New File in Directory trigger type. The effect on the selection is listed in the table below.
    Table 1: Trigger Type Selection Values

    Trigger Type Selection

    Description

    New File in Directory

    To configure the file event to check for the creation of a new file(s).

  7. Click the Add Account button to include your required application account in the dropdown list.
  8. Enter a name for your event application account in the textbox. Your application account will appear in the list with this particular name.
  9. Click Continue.

     

  10. Enter your credentials and click Sign-in.



  11. Click Allow to grant access for your account.

    Figure 49: Grant Access

  12. You may click the Test button to verify a successful connection with your Application Account.

    This feature helps you to avoid the failure of this activity while executing the process flow.
    To test this activity, select an application account and click Test. If the Application Account specified in this activity exists, the test will be successful, otherwise it will give an error.

  13. Click Browse of the Folder field to choose the folder location within your application account where you want to send data.



  14. Enter the file name that the Application event needs to verify in the textbox Search Criteria. For example *.txt is entered in Search Criteria, to include all the text files on a particular location. To specify more than one file in Search Criteria, you can use regular expressions listed in the table below.

    Table 2: Expressions used in Search Criteria

    Expression

    Description

    .

    For all files with some extension

    *

    For all files in a directory

    a*.txt

    For files starting with a and having extension txt (e.g. arch.txt)

    a??????.txt

    For files starting with a and have 6 more character followed by txt extension (e.g. archive.txt)

    a[1-9]

    For a1, a2 ,a3 …………..a9

    b[aiu]t

    For bat, bit or but

    a.txt, a.doc

    For two files named as a.txt and a.doc

    If more than one file is specified in the Search Criteria field, process flow will triggered for each file.

  15. Check the Run Initial Load option to process the files that already existed in the base folder.

    This is applicable only when Creating the application event, and not when Editing it.

  16. Enter the time interval for which Application event will check for the arrival of any file or upon modification of existing file in the Polling Frequency field. Enter the digit in the Frequency field and select the unit of time i.e. seconds, minutes or hours etc. from the Duration drop-down list.

    We recommended minimum Polling Frequency to be more than 60 seconds.

    For information on Advanced Properties, refer to Changing Advanced Properties.

  17. Click Save.

    On the Application Event Manage page, you can view the details of the process flow associated with an application event, to do so, click the view link, under the PF column.