...
- 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.
Anchor _Ref400980325 _Ref400980325 Figure 45: New Application Event
- Select the required type of application from the dropdown list and then click the Next button (see Figure 45).
Anchor _Ref400980352 _Ref400980352 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).
Anchor _Ref400980416 _Ref400980416
Figure 48: Dropbox LoginClick the Allow button to grant access for your account (see Figure 49).
Anchor _Ref400980445 _Ref400980445 Figure 49: Grant Access
You may click the Test button to verify a successful connection with your Application Account.
Info 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.
Anchor _Ref400980525 _Ref400980525 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
Info 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.
Info This is applicable only when Creating the application event, and not when Editing the application event 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.
Info Recommended minimum Polling Frequency is 30 seconds.
Info To learn about Advanced Properties refer to Changing Advanced Properties section.
Click the Save button.
Info 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.
Anchor _Managing_Application_Accounts _Managing_Application_Accounts