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
- On the Adeptia Suite homepage menu, click the Develop tab.
Go to Events > Application. The Manage Application Event screen is displayed (see Figure 44).
Figure 44: Manage Application Event
Click the Create New link. The New Application Event screen is displayed.
Figure 45: New Application Event
- Select the required type of application from the dropdown list and then click the Next button (see Figure 45).
Enter the name and the description of the new Application Event activity in the textboxes Name and Description respectively.
Figure 46: New Application Event
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 ValuesTrigger Type Selection
Description
New File in Directory
To configure the file event to check for the creation of a new file(s).
- Click the Add Account button to include your required application account in the dropdown list.
- Enter a name for your event application account in the textbox. Your application account will appear in the list with this particular name.
Click the Continue button (see Figure 47).
Figure 47: Add Account
Enter your credentials and click the Sign-in button (see Figure 48).
Figure 48: Dropbox LoginClick the Allow button to grant access for your account (see Figure 49).
Figure 49: Grant Access
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.Click the Browse button of the Folder field to choose the folder location within your application account where you want to send data (see Figure 50).
Figure 50: Select Folder- 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.
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.
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 dropdown list.
Recommended minimum Polling Frequency is 30 seconds.
To learn about Advanced Properties refer to Changing Advanced Properties section.
Click the Save button.
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.